--- mojoRising [EMAIL PROTECTED] wrote:
I am wondering whether it is possible, and or a good idea, to have two (or
more) struts forms - each calling a DIFFERENT action - on the same JSP?
Would each action have to have the same parameters? Would there be
conflicts? Is this a bad idea?
Lots
I have a JSP with 2 different forms and different params and they call
different action classes with no problems. In my case the functionality was
similar and creating 2 different pages for it was unnecessary. This page has
a view/edit/delete account form and a create new account form.
Regards,
No specific issue at hand, I was just concerned that if:
Form 1 (action class A) had 20 parameters, and form 2(action class B) had 4,
then after submitting form B the page would reload with 16 null parameters
right? When form A referenced those parameters using OGNL they would not be
on the value
If the forms are exactly in the same JSP and i mean you don't have one form
in a iframe and other form in another iframe, as far as i am concern is not
possible.
But, if you use ajax, then you can send the values of any amount of forms to
the server.
On Thu, Mar 6, 2008 at 2:53 PM, mojoRising
4 matches
Mail list logo