struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From usha <u...@justcommodity.com>
Subject Re: Servlet Mapping
Date Thu, 06 Mar 2003 08:51:46 GMT
Hi Nico

Thanks a lot for the reply. You mentioned about the "unknown" action can 
you explain me a little bit how i can create an unknown action. actually 
i need to perform the action that i specify after '0' .

Thanks
usha

Nicolas De Loof wrote:

>>>i am trying to give servletmapping for the following URL
>>>http://localhost:8080/context/test/0/<struts-action>
>>>
>>>in the above URL '0' is going to be changed dynamically depending
>>>      
>>>
>on the
>  
>
>>>link the user select.how i can give a servlet-mapping for such type
>>>      
>>>
>of URL
>  
>
>>>for the ActionServlet.
>>>
>>>is this possible to do like this.
>>>
>>>      
>>>
>
>You can define in struts-config.xml a "unknown" action. This one can
>use ServletPath to get your '0'.
>
>Nico.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>  
>




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message