tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfarc...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet JspServlet.java
Date Wed, 29 Jan 2003 22:09:32 GMT
jfarcand    2003/01/29 14:09:32

  Modified:    jasper2/src/share/org/apache/jasper/servlet JspServlet.java
  Log:
  Remove the condition. DummyRequest will be modified.
  
  Revision  Changes    Path
  1.22      +7 -11     jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet/JspServlet.java
  
  Index: JspServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet/JspServlet.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- JspServlet.java	29 Jan 2003 18:20:08 -0000	1.21
  +++ JspServlet.java	29 Jan 2003 22:09:32 -0000	1.22
  @@ -231,14 +231,10 @@
   		log.debug("\t  Request Params: ");
   		Enumeration e = request.getParameterNames();
   
  -                // Occurs only when DummyRequest is used (this method never 
  -                // when used in the normal case return null
  -                if (e != null) {
  -                    while (e.hasMoreElements()) {
  -                        String name = (String) e.nextElement();
  -                        log.info("\t\t " + name + " = " +
  -                                 request.getParameter(name));
  -                    }
  +               while (e.hasMoreElements()) {
  +                    String name = (String) e.nextElement();
  +                    log.info("\t\t " + name + " = " +
  +                             request.getParameter(name));
                   }
   	    }
               serviceJspFile(request, response, jspUri, null, precompile);
  
  
  

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


Mime
View raw message