tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/jasper/runtime JspServlet.java
Date Tue, 20 Jun 2000 17:27:45 GMT
costin      00/06/20 10:27:45

  Modified:    src/share/org/apache/jasper/runtime JspServlet.java
  Log:
  "protected" in JspServlet - as requested by Petr. It's just a workaround, until a better
  way to plug jasper is implemented. ( right now we have a lot of problems with the
  loader and with initialization. Probably tomcat 3.3 will have a tomcat-specific
  interceptor that will resolve all this - but now I don't think we have the time )
  
  Revision  Changes    Path
  1.31      +10 -11    jakarta-tomcat/src/share/org/apache/jasper/runtime/JspServlet.java
  
  Index: JspServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/runtime/JspServlet.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- JspServlet.java	2000/06/20 00:17:41	1.30
  +++ JspServlet.java	2000/06/20 17:27:43	1.31
  @@ -202,15 +202,15 @@
       }
   	
   	
  -    ServletContext context = null;
  -    Hashtable jsps = new Hashtable();
  -    Hashtable loadedJSPs = new Hashtable();
  -    ServletConfig config;
  -    JspLoader loader;
  -    Options options;
  -    ClassLoader parentClassLoader;
  -    ServletEngine engine;
  -    String serverInfo;
  +    protected ServletContext context = null;
  +    protected Hashtable jsps = new Hashtable();
  +    protected Hashtable loadedJSPs = new Hashtable();
  +    protected ServletConfig config;
  +    protected JspLoader loader;
  +    protected Options options;
  +    protected ClassLoader parentClassLoader;
  +    protected ServletEngine engine;
  +    protected String serverInfo;
   
       static boolean firstTime = true;
       static boolean jdk12=false;
  @@ -462,7 +462,7 @@
        *  @param classpath explicitly set the JSP compilation path.
        *  @return true if JSP files is newer
        */
  -    boolean doLoadJSP(String name, String classpath, 
  +    protected boolean doLoadJSP(String name, String classpath, 
   	boolean isErrorPage, HttpServletRequest req, HttpServletResponse res) 
   	throws JasperException, FileNotFoundException 
       {
  @@ -490,7 +490,6 @@
           } catch (JasperException ex) {
               throw ex;
           } catch (Exception ex) {
  -	    ex.printStackTrace();
   	    throw new JasperException(Constants.getString("jsp.error.unable.compile"),
                                         ex);
   	}
  
  
  

Mime
View raw message