It looks like your action path in your <html:form> doesn't match your path
in your action mapping. You have path="/addUser" within your <action>
mapping and your <html:form> action="/admin/addUser". Have you tried
changing your action-mapping to <action path="/admin/addUser"..... .....
....>
Hope that helps.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 20, 2002 3:20 AM
Subject: html:form with sub application
Hello,
I use multiple sub application modules with struts (1.1b2).
The Action "addUser" is defined in "admin" struts config file :
<action-mapping>
<action path="/addUser" type= ... ...
...
</action>
</action-mapping>
And the "admin" config file is defined in web.xml :
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>config/admin</param-name>
<param-value>/WEB-INF/struts-config-admin.xml</param-value>
</init-param>
...
...
</servlet>
When I use this action in the "html:form" taglib :
<html:form action="/admin/addUser">
I got the following exception :
"Cannot retrieve mapping for action /admin/addUser"
Any one got this problem too ?
Thanks
-------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs,
Toolbar...
Web/Wap : www.netcourrier.com
T�l�phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min)
Minitel: 3615 NETCOURRIER (0,15 ? TTC/min)
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>