You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by pi...@locus.apache.org on 2000/10/06 01:40:39 UTC
cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/servlet JspServlet.java
pierred 00/10/05 16:40:38
Modified: jasper/src/share/org/apache/jasper/servlet JspServlet.java
Log:
No need for "file not found" message since servlet container
wraps the SC_NOT_FOUND with the proper message.
Revision Changes Path
1.3 +1 -5 jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/servlet/JspServlet.java
Index: JspServlet.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/servlet/JspServlet.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- JspServlet.java 2000/09/26 21:50:36 1.2
+++ JspServlet.java 2000/10/05 23:40:38 1.3
@@ -183,11 +183,7 @@
} catch (FileNotFoundException ex) {
try {
response.sendError(HttpServletResponse.SC_NOT_FOUND,
- Constants.getString
- ("jsp.error.file.not.found",
- new Object[] {
- ex.getMessage()
- }));
+ ex.getMessage());
} catch (IllegalStateException ise) {
Constants.jasperLog.log(Constants.getString
("jsp.error.file.not.found",