tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22426] - cannot resolve getContextPath on ServletRequest
Date Thu, 14 Aug 2003 15:18:43 GMT
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.

Mime
View raw message