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...

explain the struts-configuration file?

Answer Posted / zurreyab ahmad

<struts-config>
<data-sources />
<form-beans >
<form-bean name="LoginForm" type="RegisterForm" />

</form-beans>

<global-exceptions />
<global-forwards >
<global-forwards >
<forward name="success" path="/success.jsp"/>
<forward name="failure" path="/failure.jsp"/>
</global-forwards>
<action-mappings >

<action path="/login" type="RegisterAction"
name="LoginForm" scope="request" >

</action>

</action-mappings>

<message-resources
parameter="com.yourcompany.struts.ApplicationResources" />
</struts-config>
</action-mappings>

the controller first goes to action mapping and check the
name of action mapping and action form if same then goes to
action form then check reset method and reset request and
check valideter method and then forward action class

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I install struts?

971


How to override the default error message that can come during file uploading process?

977


What is front controller in struts2?

1017


What is the purpose of plug-in tag in struct-config.xml?

835


What is apache struts vulnerability?

881


What is the use of lookupdispatchaction?

968


What are the loop holes of struts?

990


What is the actionform?

977


What is the purpose of @doublerangefieldvalidator?

1012


What is the purpose of form-be tag in struct-config.xml?

905


What is the purpose of @after annotation?

982


What is container struts2?

949


What design patterns are used in struts?

947


What is discontinuous strut?

879


What is the purpose of dispatcher result type?

913