Sorry, I've sent the message wile I was still writing.

On Sun, 3 Oct 2004 09:59:36 +1000, Ben <[EMAIL PROTECTED]> wrote:
> I would like to use Tomcat alone

In your web.xml use this mapping:

-------------------------------------
 <servlet-mapping>
   <servlet-name>MyServlet</servlet-name>
   <url-pattern>/do/*</url-pattern>
 </servlet-mapping>
-------------------------------------

If you request the url "http://localhost/do/site/books/architecture";
and call the method:

req.getPathInfo()

you will get the String:

"/site/book/architecture"

Andrea

-- 
Andrea Polci

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to