RE: More then 1 Action Forms in JSP

2006-05-25 Thread Raghuveer
onstants.TENTH_PAGE%>" in Struts-Config.xml . . Is this correct ? -Original Message- From: Monkeyden [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 7:38 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: More then 1 Action Forms in JSP As in a

RE: More then 1 Action Forms in JSP

2006-05-25 Thread Raghuveer
>You just need 2 >different forms pointing to different actions. I am using only one mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 7:49 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: More then 1 Action Forms in JSP Sure its possible for a JSP to call 2 dif

Re: More then 1 Action Forms in JSP

2006-05-25 Thread Monkeyden
I considered DispatchAction but it sounds like he is looking for your average context-sensitive help functionality. On 5/25/06, Chaudhary, Harsh <[EMAIL PROTECTED]> wrote: Sure its possible for a JSP to call 2 different actions. You just need 2 different forms pointing to different actions. I

RE: More then 1 Action Forms in JSP

2006-05-25 Thread Chaudhary, Harsh
Sure its possible for a JSP to call 2 different actions. You just need 2 different forms pointing to different actions. I would implement an action like DispatchAction and determine programatically which action to forward the user to. This also helps if I need to change the design in the future.

Re: More then 1 Action Forms in JSP

2006-05-25 Thread Monkeyden
As in a pop-up? If so, then you create a HelpAction and JSP, which would be expecting a request parameter specifiying the current screen. Use that parameter to determine what content to fetch. Basically, it's a new Action. The only thing your 10 existing screens will be responsible for is pass