You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/08/14 17:18:43 UTC

DO NOT REPLY [Bug 22426] - cannot resolve getContextPath on ServletRequest

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22426>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22426

cannot resolve getContextPath on ServletRequest





------- Additional Comments From dougvanhorn@yahoo.com  2003-08-14 15:18 -------
Oops,  so here's the tag file:

<%= ((javax.servlet.http.HttpServletRequest)request).getContextPath() %>
<%= request.getContextPath() %>

where the first line succeeds and the second line fails.