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 …
Here I have categorized core java interviews questions and answers for fresher and experience developer in Basics of core java interview questions, OOPs interview questions, String Handling interview questions, Multi-threading interview questions, collection interview questions, …
This is very common question in core java interview for entry level programmer so let’s discuss some important point of difference as below: Difference between interfaces and abstract classes abstract class interface Abstract class may …
In java hashCode() and equals() methods have been defined in Object class which is parent class for java objects that means all classes in Java inherit these methods. Object class implements these methods for general …
In java main() method is special method, it is entry point for launching core java application not like servlet and other containers. In Core java application we run the application then JVM search for public …