You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by David Graham <dg...@hotmail.com> on 2003/03/06 05:17:02 UTC
Re: Servlet Mapping
You can only supply one mapping to the ActionServlet.
It's impolite to mark your posts as "urgent" because it's rather
presumptuous.
David
>From: usha <us...@justcommodity.com>
>Reply-To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>To: struts-user@jakarta.apache.org
>Subject: Servlet Mapping: urgent
>Date: Thu, 06 Mar 2003 12:01:33 +0800
>
>Hi
>
>i posted this question previously also but i didn't get any answer from any
>body so i am posting it again.
>
>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.
>
>Thanks
>usha
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: Servlet Mapping
Posted by usha <us...@justcommodity.com>.
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
Re: Servlet Mapping
Posted by Nicolas De Loof <ni...@cgey.com>.
> >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