costin 01/06/05 23:27:41 Modified: jasper34/generator/org/apache/jasper34/core Constants.java JspCompilationContext.java Options.java Log: Few more fixes and comments. Revision Changes Path 1.3 +4 -1 jakarta-tomcat-jasper/jasper34/generator/org/apache/jasper34/core/Constants.java Index: Constants.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-jasper/jasper34/generator/org/apache/jasper34/core/Constants.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Constants.java 2001/05/28 02:19:30 1.2 +++ Constants.java 2001/06/06 06:27:37 1.3 @@ -62,7 +62,10 @@ import org.apache.tomcat.util.log.Log; import org.apache.tomcat.util.res.StringManager; - + +// @deprecated will be refactored, part will move to ContainerLiaiason, +// part to options + /** * Some constants and other global data that are used by the compiler * and the runtime. 1.2 +7 -8 jakarta-tomcat-jasper/jasper34/generator/org/apache/jasper34/core/JspCompilationContext.java Index: JspCompilationContext.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-jasper/jasper34/generator/org/apache/jasper34/core/JspCompilationContext.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JspCompilationContext.java 2001/05/27 23:23:16 1.1 +++ JspCompilationContext.java 2001/06/06 06:27:38 1.2 @@ -1,8 +1,4 @@ /* - * $Header: /home/cvs/jakarta-tomcat-jasper/jasper34/generator/org/apache/jasper34/core/JspCompilationContext.java,v 1.1 2001/05/27 23:23:16 costin Exp $ - * $Revision: 1.1 $ - * $Date: 2001/05/27 23:23:16 $ - * * ==================================================================== * * The Apache Software License, Version 1.1 @@ -66,12 +62,15 @@ package org.apache.jasper34.core; import org.apache.jasper34.generator.*; -// import org.apache.jasper.compiler.ServletWriter; -// //import org.apache.jasper.runtime.JspLoader; -// import org.apache.jasper.compiler.TagLibraries; +import org.apache.jasper34.parser.*; import java.io.IOException; -import org.apache.jasper34.generator.Compiler; import org.apache.jasper34.runtime.JasperException; + +// XXX @deprecated - will be split up in ContainerLiaison +// and jsptree.* + + + /** * A place holder for various things that are used through out the JSP * engine. This is a per-request/per-context data structure. Some of 1.2 +6 -5 jakarta-tomcat-jasper/jasper34/generator/org/apache/jasper34/core/Options.java Index: Options.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-jasper/jasper34/generator/org/apache/jasper34/core/Options.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Options.java 2001/05/27 23:23:16 1.1 +++ Options.java 2001/06/06 06:27:39 1.2 @@ -1,8 +1,4 @@ /* - * $Header: /home/cvs/jakarta-tomcat-jasper/jasper34/generator/org/apache/jasper34/core/Options.java,v 1.1 2001/05/27 23:23:16 costin Exp $ - * $Revision: 1.1 $ - * $Date: 2001/05/27 23:23:16 $ - * * ==================================================================== * * The Apache Software License, Version 1.1 @@ -67,7 +63,12 @@ import javax.servlet.ServletContext; /** - * A class to hold all init parameters specific to the JSP engine. + * A class to hold all init parameters specific to the JSP engine. + * + * The container liaison will implement this interface to pass options + * or use one of the existing implementations. We have support for + * using Properties, command line options, ServletConfig and setters + * ( might need some refactoring ) * * @author Anil K. Vijendran * @author Hans Bergsten