Look up "servlet-mapping" in the servlet specification. That is exactly 
what you're looking for.

At 06:01 PM 12/6/2000 +0500, you wrote:
>Hello,
>
>Want to know how to convert 
><http://localhost/servlet/TestServlet>http://localhost/servlet/TestServlet 
>to <http://localhost/exec/TestServlet>http://localhost/exec/TestServlet ? 
>So that I can execute servlets without using 'servlet' keyword and some 
>other keyword of my own ? Is it possible with Orion if so then how ?
>
>Secondly how to use the following URL 
><http://localhost/docs/index.jsp/123-456-789-0>http://localhost/docs/index.jsp/123-456-789-0
> 
>in place of say 
><http://localhost/docs/index.jsp?id=123-456-789-0>http://localhost/docs/index.jsp?id=123-456-789-0
> 
>? I am asking this because search engines won't index any URL which 
>contains question mark. I am sure many of Orion users will be interested 
>to know if it is possible with Orion and if so then how. We can then use 
>request.getPathInfo() to retrieve the extra info after 'index.jsp'.
>
>For those of you who don't know about using extra path info appended to 
>the URL after file or servlet name, this feature works fine with servlets 
>on almost all application servers but not all of them support this on JSP. 
>Resin supports this feature but I am not sure about Orion, at least hasn't 
>worked for me. If any of you guys have any experience with this then I'll 
>be happy if you can shed some light on this, thanks.
>
>Faisal Khan.
><http://www.stardeveloper.com>www.stardeveloper.com
>



Reply via email to