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.

Harsh.

-----Original Message-----
From: Raghuveer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 25, 2006 12:42 AM
To: user@struts.apache.org
Subject: More then 1 Action Forms in JSP



I have 10 JSP's and used 10 Action forms,10 action classes(dispatch
action
and action) with 10 Action Mappings in Struts-config.xml.

I have 1 common functionality where if user clicks HELP button in any
screen
i need to get documennt stored in database and show to user.

Question1)

Is it possiable to user 2 actionforms in 1 JSP ?

Question2)
What is best way to implemt such scenerios in struts.





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to