glenn 01/02/03 17:05:25 Modified: jasper/src/share/org/apache/jasper/compiler Mangler.java Log: - Implemented Java SecurityManager - Switched to using URLClassLoader Jasper now creates a URLClassLoader for each JSP page and defers any other class loading to the web app context class loader. Using a single class loader per JSP allowed me to remove all the code that increments the class version number, i.e. the work directory no longer has multiple *.java and *.class files for the same JSP page. These changes also made it easy for me to put the java source and class files in the same directory tree as found in the web app context. When Jasper is run in a servlet container it no longer puts the class files in a package, they are now in the default package. Revision Changes Path 1.2 +3 -8 jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/Mangler.java Index: Mangler.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/Mangler.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Mangler.java 2000/08/12 00:52:08 1.1 +++ Mangler.java 2001/02/04 01:05:23 1.2 @@ -1,7 +1,7 @@ /* - * $Header: /home/cvs/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/Mangler.java,v 1.1 2000/08/12 00:52:08 pierred Exp $ - * $Revision: 1.1 $ - * $Date: 2000/08/12 00:52:08 $ + * $Header: /home/cvs/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/Mangler.java,v 1.2 2001/02/04 01:05:23 glenn Exp $ + * $Revision: 1.2 $ + * $Date: 2001/02/04 01:05:23 $ * * ==================================================================== * @@ -71,11 +71,6 @@ * generated servlet, including the version number */ String getClassName(); - - /** The package name. It is based on the .jsp path, with - * all unsafe components escaped. - */ - String getPackageName(); /** The full name of the .java file, including * version number ( based on className and outputDir ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]