aspose file tools
The moose likes Struts and the fly likes how to use the same form bean in two action class Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "how to use the same form bean in two action class" Watch "how to use the same form bean in two action class" New topic
Author

how to use the same form bean in two action class

gayathri ramesh
Greenhorn

Joined: Jun 19, 2006
Posts: 7
Is it possible to use the same formbean in two different action classes.

If so, How.
Pras Tiwari
Ranch Hand

Joined: Nov 07, 2005
Posts: 185
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


********Deserve Before You Desire********
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to use the same form bean in two action class
 
Similar Threads
FormBean for two action classes.
dynamic page throught tile
How to send back list of values from child window to parent window?
how to set two buttons same line?
Struts Validator Framework - using same formbean for different jsps