billbarker 02/01/03 22:03:54 Modified: jk/java/org/apache/ajp/tomcat4/config NSConfig.java Log: Fix problem with Object tag nesting. Personally, I only worked with Netscape briefly, many years ago. I think that I've got this right, but an iPlanet expert should probably look it over. Not that they won't after the 4.02 release :-). Revision Changes Path 1.4 +4 -1 jakarta-tomcat-connectors/jk/java/org/apache/ajp/tomcat4/config/NSConfig.java Index: NSConfig.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/ajp/tomcat4/config/NSConfig.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- NSConfig.java 12 Dec 2001 04:09:35 -0000 1.3 +++ NSConfig.java 4 Jan 2002 06:03:54 -0000 1.4 @@ -287,9 +287,11 @@ log("Ignoring root context in forward-all mode "); return; } + objfile.println("<Object name=" + context.getName() + ">"); objfile.println("NameTrans fn=\"assign-name\" from=\"" + ctxPath + "\" name=\"" + objectName + "\""); objfile.println("NameTrans fn=\"assign-name\" from=\"" + ctxPath + "/*\" name=\"" + objectName + "\""); + objfile.println("</Object>"); } @@ -305,7 +307,7 @@ log("Ignoring root context in non-forward-all mode "); return; } - + objfile.println("<Object name=" + context.getName() + ">"); // Static files will be served by Netscape objfile.println("#########################################################"); objfile.println("# Auto configuration for the " + nPath + " context starts."); @@ -331,6 +333,7 @@ for(int ii=0; ii < servletMaps.length; ii++) { addMapping( ctxPath , servletMaps[ii] , objfile ); } + objfile.println("</Object>"); } /** Add a Netscape extension mapping.
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>