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

Are struts still used?

935


How do you find the struts version being used in a project?

942


How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?

2965


Is there a particularly good ide to use with struts?

925


How can you create your custom interceptor in struts 2?

951


What is the difference between shocks and struts?

957


Can you explain value stack?

926


How can we upload files in Struts2 application?

1037


What are the loop holes of struts?

1053


What is struts and why it is used?

965


What are construction struts?

922


how to get the last 10 elements using logic:iterate in struts with hiernate from database.

4510


Do I have to credit struts on my own website?

1001


What are the reasons for an error message not being displayed while developing struts application?

944


What is ognl?

1142