tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pier...@locus.apache.org
Subject cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/servlet JspServlet.java
Date Thu, 05 Oct 2000 23:40:39 GMT
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",
  
  
  

Mime
View raw message