> /myservlet/results.jsp, the jsp page would show up, but no links would
 > show up (such as images).  I could not access /myservlet/somepage.html
 > directly from the browser.

You may have this problem with 2.1 also.  To solve this, provide a base tag
in the HTML.  I put it in a separate file and include into the JSP files:

<%@ include file="base.inc" %>

where base.inc contains:

<base href="http://hostname/app/">

This won't be necessary with a 2.2 container.


Rick

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