life cycle of struts?
Answer Posted / manohar reddy. vummadi
From Jsp page the controller looks into <form>tag with that
it enters into the web.xml, in web.xml it checks the <url-
pattern> tag, and it maps with <servlet-name> tag in
<servlet-mapping> tag, again it checks with <servlet-name>
which is there in <servlet> tag, it looks for corresponding
<servlet-class>.The Controller goes in strus-config.xml
from the it controller checks with the (req name) both in
<action> and <form-bean> if it is matching it will look
into the FormBean class.In FormBean class we have to write
setters and getters for the form input fields which are
there in Jsp page.Then the req is forwadard to Action
class. In Action class it will do some business logic based
on the requirement.
| Is This Answer Correct ? | 19 Yes | 8 No |
Post New Answer View All Answers
how to get the last 10 elements using logic:iterate in struts with hiernate from database.
What is life cycle of an interceptor?
What are the core components of a struct2 based application?
What are the steps involved in creating a strut application?
What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?
How struts 2 validation works?
What is an interceptor stack?
What are disadvantages of Struts?
Why do the struts tags provide for so little formatting?
What is the difference between empty default namespace and root namespace?
What is struts.devmode?
What are the features of struts 2?
How can we write our own interceptor and map it for action?
At the point, you should go for struts framework?
What is the purpose of @conversion annotation annotation?