File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
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: 186
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://aspose.com/file-tools
 
subject: how to use the same form bean in two action class
 
Similar Threads
FormBean for two action classes.
how to set two buttons same line?
How to send back list of values from child window to parent window?
Struts Validator Framework - using same formbean for different jsps
dynamic page throught tile