Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pls answer this

 
Grishma Dube
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic