A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to use the same form bean in two action class
Joined: Jun 19, 2006
Jul 14, 2006 00:15:00
Is it possible to use the same formbean in two different action classes.
If so, How.
Joined: Nov 07, 2005
Jul 14, 2006 00:25:00
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.
********Deserve Before You Desire********
It is sorta covered in the
JavaRanch Style Guide
subject: how to use the same form bean in two action class
dynamic page throught tile
FormBean for two action classes.
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014