Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is pojo in struts2?

1004


What is the difference between forwardaction and includeaction?

1178


What are the features of struts?

1023


What is interceptor in Struts2?

966


What do you know about validation plugin ?

958


What is the purpose of @typeconversion annotation annotation?

977


Explain the difference between dispatchaction and lookupdispatchaction in struts?

6358


What are the steps of struts installation?

1008


What design patterns are used in struts?

1011


Why it called struts?

959


What are the contents on web.xml in struts application ?

987


What is the default suffix for Struts2 action URI and how can we change it?

1001


Why aren’t the struts tags maintained as part of the jakarta taglibs project ?

916


What are different ways to create Action classes in Struts2?

1097


What are the Core classes of Struts Framework?

1018