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/01/15 12:21:00 UTC
DO NOT REPLY [Bug 16102] New: -
The method HttpServlet.getLastModified() can't be overrided in the JSP
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=16102>.
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=16102
The method HttpServlet.getLastModified() can't be overrided in the JSP
Summary: The method HttpServlet.getLastModified() can't be
overrided in the JSP
Product: Tomcat 4
Version: 4.1.12
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: Maxim.Karavaev@arete.de
CC: Maxim.Karavaev@arete.de
The problem is that a JSP can't be cached on the client side, because the
method:
protected long getLastModified(HttpServletRequest request);
is invoked from the HttpServlet.service(HttpServletRequest req,
HttpServletResponse res) method, but org.apache.jasper.runtime.HttpJspBase
override this method without any support for caching.
I think, that a good way is to call an abstract void _jspService method from
the general doGet and doPost methods in HttpJspBase.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>