Answer Posted / ramu
Whenever client send the request to sever is check is there web. XML file.And the read the contents in web. XML file and store into JVM's memory.
After ur using <load-on-startup> sever is created ActionServlet Object.In second second init()method and the reads the contents stored in JVM's memory.
Now sever is created Request and Response Object's and hadover to ActionServelt Service().
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Why are frameworks used?
What is dispatchaction?
what is meant by Struts Validator Framework?
Difference between struts and spring? Or why use spring, if you are already using struts?
How to convert struts to spring mvc?
What is ValueStack and OGNL?
What configurations are stored in struts configuration file ?
What validate() and reset() method does ?
What is action chaining ?
What is the purpose of @stringlengthfieldvalidator annotation?
What inbuilt themes are provided by struts2?
Why aren’t the struts tags maintained as part of the jakarta taglibs project ?
How can duplicate form submission be handled in struts 2?
What is meant by custom tags?
What are different Struts2 tags? How can we use them?