Originally posted by kesh:
Hi
Can any one tell me the difference between normal servlet and action servlet in struts
and a java bean and struts action form.
Well. ActionServlet is also a Servlet but with some speciality included. Hope you know about what a Servlet actually is.
This ActionServlet is Struts specific and it is the one which
reads the struts-config.xml file and decides which action class to invoke based on the input requestregulates the flow from the JSP to Action class and vice versa. A Java Bean is a component that has got some properties and a pair of mutator/accessor methods. [also called as Setter/Getters]. An Action Form is also a kinda JavaBean but it has got some other reset() methods etc., using which you can reset the properties of all properties.
Does that help?
[ December 26, 2007: Message edited by: Raghavan Muthu ]