Use the same form "name" for both action mapping in the sturts config.  Hope
that helps.

<action path="/edit/temp1"
type="....."
name="edit"
scope="request"
validate="true"
input="xyz.jsp">
<forward ....blah blah.... />
</action>

<action path="/edit/temp2"
type="....."
name="edit"
scope="request"
validate="true"
input="xyz1.jsp">
<forward ....blah blah.... />
</action>

-----Original Message-----
From: Mili Aggarwal, Noida [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 9:50 AM
To: Struts Users Mailing List
Subject: Configuring action path


Hello All,
        I my module I have various jsp with action as
<html:form  action="/edit/temp1" ....
Another jsp with

<html:form  action="/edit/temp2" ....

Now I want all these jsp's be mapped to the same Action form -> edit.java

How should the corresponding mapping be done in Struts config?

When I use:
<action path="/edit/*" type="      .....

It throws an error that no mapping found...

Any ideas?

Awaiting a reply




Disclaimer:

This message and any attachment(s) contained here are information that is
confidential,proprietary to HCL Technologies and its customers, privileged
or otherwise protected by law.The information is solely intended for the
individual or the entity it is addressed to. If you are not the intended
recipient of this message, you are not authorized to read, forward,
print,retain, copy or disseminate this message or any part of it. If you
have received this e-mail in error, please notify the sender immediately by
return e-mail and delete it from your computer.



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