You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Yaman Kumar <ya...@nous.soft.net> on 2002/06/06 05:10:20 UTC
Struts Design question
Hi,
I have a design question of struts implementation in my application,
I have a AformBean in A.jsp and the page action is actionA, actionA
processed
all AfromBean values and got some dynamic data from Database,Now i
would like to keep this data in BFormBean and the actionA forwards the
output to B.jsp how to keep the data in BformBean and how to populate them
in B.jsp?.
As when I requested form in actionA it is giving AformBean so i processed
all values them and got dynamic data and now
i would like to keep data in BFormBean, but i can't get
the reference of it. So how can i achieve?.
Can any one help me out?
TIA
rayaku
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Struts Design question
Posted by Mark Nichols <dh...@hotmail.com>.
From: "Yaman Kumar" <ya...@nous.soft.net>
> I have a AformBean in A.jsp and the page action is actionA, actionA
> processed
> all AfromBean values and got some dynamic data from Database,Now i
> would like to keep this data in BFormBean and the actionA forwards the
> output to B.jsp how to keep the data in BformBean and how to populate
them
> in B.jsp?.
>
This is just a stab in the dark, but I think you need to create an instance
of BFormBean in actionA, and populate it yourself with whatever data it
holds. Then, before forwarding to B.jsp, you need to set BFormBean in the
appropriate scope (session or request) as defined in your struts-config.xml
file.
mark n.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>