Hi

Am I doing the <base href="<%= request.getContextPath %>" > wrong?
I put this inside <head> .. </head> of my JSP.

<html>
     <head><title> Dosh Tosh</title>
     <base href="<%= request.getContextPath %>" >
</head>
Then I wrote

<form action="servlet/learn.jsp.LocationController" >
     ..
</form>

Now my webapp should run no matter what the context name path is ?
The JSP should not care if the webapp is `foobar', `doggone' or `pilgpe'
Yet I get a bad connection servlet no found,
unless I explicity hard code it

<form action=`/pilgpe/servlet/learn.jsp.LocationController' >
     ..
</form>

Is this a TOMCAT 3.2 bug or just me getting it wrong again?

--
Peter Pilgrim
G.O.A.T
                    "the Greatest Of All Time"



--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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