tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/config GeneratorApache2.java
Date Thu, 02 May 2002 03:18:11 GMT
costin      02/05/01 20:18:11

  Modified:    jk/java/org/apache/jk/config GeneratorApache2.java
  Log:
  Few fixes
  
  Revision  Changes    Path
  1.2       +11 -7     jakarta-tomcat-connectors/jk/java/org/apache/jk/config/GeneratorApache2.java
  
  Index: GeneratorApache2.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/config/GeneratorApache2.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GeneratorApache2.java	1 May 2002 19:55:45 -0000	1.1
  +++ GeneratorApache2.java	2 May 2002 03:18:11 -0000	1.2
  @@ -171,24 +171,28 @@
       
       public void generateServletMapping( String servlet, String url ) {
           out.println( "<Location \"" + cpath + url + "\" >");
  -        out.println( "SetHandler jakarta-servlet2" );
  -        out.println( "JkSet worker " + worker );
  -        out.println( "JkSet servlet " +  servlet);
  +        out.println( "  SetHandler jakarta-servlet2" );
  +        out.println( "  JkUriSet group " + worker );
  +        out.println( "  JkUriSet servlet " +  servlet);
           out.println( "</Location>");
           out.println();
       }
   
       public void generateFilterMapping( String servlet, String url ) {
           out.println( "<Location \"" + cpath + url + "\" >");
  -        out.println( "SetHandler jakarta-servlet2" );
  -        out.println( "JkSet worker " + worker );
  -        out.println( "JkSet servlet " +  servlet);
  +        out.println( "  SetHandler jakarta-servlet2" );
  +        out.println( "  JkUriSet group " + worker );
  +        out.println( "  JkUriSet servlet " +  servlet);
           out.println( "</Location>");
           out.println();
       }
   
       public void generateLoginConfig( String loginPage,
  -                                        String errPage, String authM ) {
  +                                     String errPage, String authM ) {
  +        out.println( "<Location \"" + cpath + loginPage + "\" >");
  +        out.println( "  SetHandler jakarta-servlet2" );
  +        out.println( "  JkUriSet group " + worker );
  +        out.println( "</Location>");
           out.println();
       }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message