I am using Struts 1.x for an application.
I want to know when the ActionForm instantiated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
ActionServletactually delegates the request processing job to it’sRequestProcessor.When a request arrives, either the
doGetor thedoPostmethod of the action servlet is invoked. Any of these method will call the action servlet’sprocessmethod which inturn calls the request processor’sprocessmethod. And that’s where everything happen, roughly as follows –ActionMappingfor current request.ActionForminstance.Actioninstance.If you want (or need) to know in detail then you can always take a look at the source code. Followings are the links to the source codes for Struts 1.3.10 (you can also find sources for other versions of struts if that’s not your version) –
org.apache.struts.action.ActionServletorg.apache.struts.action.RequestProcessor