Re: derrive the form action name from the action mapping that called the JSP

2003-09-17 Thread Daniel Wang
I don't believe you can...  What I end up doing is make the form submit to a
common dispatch action that then forwards to either action1 or action2...

daniel

- Original Message - 
From: Mick Knutson [EMAIL PROTECTED]
To: struts [EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 7:22 PM
Subject: derrive the form action name from the action mapping that called
the JSP


 Is it possible to derive the form action name from the action mapping
that
 called the JSP?
 Like:
 html:form action=${actionName} method=post

 I have 2 different actions that calls a JSP page. I want each of them to
 submit to the respective action
 I.e action1 gets submitted to action1.do, and action2 get submitted to
 action2.do

 Is this possible?

 ---
 Thanks
 Mick Knutson
 http://www.baselogic.com

 +001(805) 563-0666 Office
 +001 (708) 570-2772 Fax
 ---

 -
 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]



derrive the form action name from the action mapping that called the JSP

2003-09-16 Thread Mick Knutson
Is it possible to derive the form action name from the action mapping that
called the JSP?
Like:
html:form action=${actionName} method=post

I have 2 different actions that calls a JSP page. I want each of them to
submit to the respective action
I.e action1 gets submitted to action1.do, and action2 get submitted to
action2.do

Is this possible?

---
Thanks
Mick Knutson
http://www.baselogic.com

+001(805) 563-0666 Office
+001 (708) 570-2772 Fax
---

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