----- Original Message -----
From: "Laiwu Luo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 28, 2000 8:50 PM
Subject: Tomcat servlet configuration question
> I have a small application implemented in servlets running on Tomcat
> container. But to access servlets, users
> have to type the URLs like
> "http://<servername>/<projectname>/servlet/<servletname>". I really like
> to change it so that users only need to enter URLs like
> "http://<servername>/<projectname>/<servletname>".
>
> I wonder whether I can ahieve this by simply editing something in the
> configuration files like web.xml?
Yes, you can. Just change the servlet mapping. You'll find examples (the
SnoopServlet) in the example application.
Yours
Toyin
>
> Thanks,
>
> -- Laiwu Luo
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets