| Author |
pls answer this
|
Grishma Dube
Ranch Hand
Joined: Jul 01, 2003
Posts: 273
|
|
1. what it the purpose of message tag in struts? --- struts 2. what happens if action form tag is not having action form bean associated with it? --- struts 3. which method is called by action form? --- struts a. Execute() b. SaveError() c. GetServlet() d. Validate() 4. can one action tag is associated with more than one actions? Thanx in adv [ March 11, 2004: Message edited by: Grishma Dube ]
|
 |
poornima balagopal
Ranch Hand
Joined: Dec 02, 2003
Posts: 83
|
|
Hi, 1. what it the purpose of message tag in struts? --- struts Ans : This is used to give user defined messages to the UI. 2. what happens if action form tag is not having action form bean associated with it? --- struts ans: you will get error. If you are mapping a formBean you have to give the name and a formBean should be associated with the formbean mapping if yuo are giving And you have to use formBean name in your action mapping 3. which method is called by action form? --- struts Validate () method. But in struts 1.1 we wont use this a. Execute() b. SaveError() c. GetServlet() d. Validate() 4. can one action tag is associated with more than one actions? ans: We usually map only one action with one action mapping. For seperate actions you have to give seperate mapping Thanx in adv Please go through jakarta tutorial or onjava.com's tutorial for Struts It will be very helpful
|
 |
Rajesh Subbannavar
Greenhorn
Joined: Oct 28, 2002
Posts: 9
|
|
Just add on to the above response... 1. Message tag plays a very important role in i18n (internationalization) of the application. Just place one more application.properties_<other language> to get all your labels converted into the that language, say spanish
|
 |
 |
|
|
subject: pls answer this
|
|
|