Re: STRUTS 2: Possible to have two actions called from one JSP?

2008-03-06 Thread Dave Newton
--- 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

Re: STRUTS 2: Possible to have two actions called from one JSP?

2008-03-06 Thread Randy Burgess
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,

Re: STRUTS 2: Possible to have two actions called from one JSP?

2008-03-06 Thread mojoRising
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

Re: STRUTS 2: Possible to have two actions called from one JSP?

2008-03-06 Thread Othon Reyes Sanchez
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