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

how to use the same form bean in two action class

 
gayathri ramesh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to use the same formbean in two different action classes.

If so, How.
 
Pras Tiwari
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes,
you can use same form bean into two different action class.
Just put "name" attribute of action class into struts-config.xml as name of the form bean that u want to use into action class. Also use the scope (request/sesion) accordingly.

pras
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic