Hey there.

I have a MVC setup..a controller servlet, passes off to action classes,
populate a JavaBean then forward to a JSP page. Why is it in the action
class, (which is basically a servlet), that the request.getContextPath()
returns the proper value..the web-app context, the path etc. But in a JSP
page, the same call returns an empty string. I don't understand why, if JSP
is turned into a servlet and is invoked the same way..that it would return
nothing at all.

Thanks.

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