"[Vinod Govindan]" wrote:

> Well i guess I found it out myself..! As of Version 3.1 of Tomcat.. there
> is no support for URLrewriting!
> I guess i'll have to go to the server market again and browse for an
> alternative!

That is not correct ... Tomcat 3.1 *does* support URL rewriting.  However, you are
required to cooperate with it by calling response.encodeURL() as you are generating
hyperlinks in a servlet, or the equivalent in JSP:

    <a href="<%= response.encodeURL("/menu.jsp") %>">Go to the menu</a>

The server does not scan the pages for you looking for hyperlinks that need to be
encoded.  It's up to you to do this as you generate them.

>
> Vinod

Craig McClanahan

===========================================================================
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

Reply via email to