dinesh Archive
This tutorial has popular Spring MVC Interview Questions and answers. These have been written to help you prepare for the interviews and quickly revise the concepts in general. Before reading these questions you can practice …
In Java auto-boxing is very interested feature which automatically covert int to Integer, long to Long, float to Float etc. This feature introduced was introduced in the JAVA 5. Any developer want to compare the …
We can remove duplicate items from ArrayList in java by simply converting ArrayList into Set in Java. But Set does not maintain insertion order as by List. So whenever we will convert ArrayList to HashSet …
Both annotations @RequestParam and @PathVariable in Spring MVC are used for fetching the values of request parameters. These annotations have similar purpose but some differences in use. The key difference between @RequestParam and @PathVariable is …
In spring the @RequestParam annotation is used to bind request parameter values to the handler method arguments in controller. Let’s see use of it with example in this article. @Target(value=PARAMETER) @Retention(value=RUNTIME) @Documented public @interface RequestParam …
This tutorial explains the difference between Application Context vs Web Application Context in spring mvc. The ApplicationContext and WebApplicationContext both are almost same thing but there are some basic differences related to the web aware …
DispatcherServlet: The Heart of Spring Web MVC A “front controller” coordinates all request handling activities analogous to Struts ActionServlet / JSF FacesServlet Delegates to Web infrastructure beans Invokes user Web components Fully customizable interfaces for …