Thansk for your help !

Actually, the jsp file is under the top level of my application directory : 
MyApplication/
   +----myPage.jsp (with call /admin/addUser action)
   +----index.jsp
   +----admin/
   |      +----bar.jsp
   |      +----foo.jsp
   |
   +----WEB-INF/
          +----web.xml
          +----struts-config.xml
          +----struts-config-admin.xml


A JSP can not access an action in a sub module ?


----Message d'origine----
>De: Gemes Tibor <[EMAIL PROTECTED]>
>A: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Sujet: Re: html:form with sub application
>Date: Wed, 20 Nov 2002 10:29:09 +0100
>
>2002. november 20. 14:20 d�tummal [EMAIL PROTECTED] ezt �rtad:
>>
>> 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 ?
>
>This is not a problem. You have to put your jsp pages into the subdirectory 
>with the same name as the module has. So put the above jsp into the /admin 
>dir, and set your html:form the action="/addUser" attriubte. 
>
>Hth,
>
>Tib
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>

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

Reply via email to