YEs I did that! It's after trying that that i went hunting for some
documentation on why i wasnt getting it..! You see I tried the same code in
JRUN and it worked! But with 3.1 i was unable to do so..despite me putting
the encodeURL in the href tag.


Anyways as of now I'll work with JRUN.. and keep working on the on Tomcat..
3.1! I prefer using tomcat as it's much lighter and easier..!

Anwyays thanks!


Vinod



                    "Craig R.
                    McClanahan"                 To:     [EMAIL PROTECTED]
                    <Craig.McClanahan@EN        cc:
                    G.SUN.COM>                  Subject:     Re: TomCat Env Variable
                    Sent by: A mailing
                    list about Java
                    Server Pages
                    specification and
                    reference
                    <[EMAIL PROTECTED]
                    UN.COM>


                    05/05/00 10:35 PM
                    Please respond to A
                    mailing list about
                    Java Server Pages
                    specification and
                    reference





"[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

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