struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject cvs commit: jakarta-struts/src/share/org/apache/struts/action RequestProcessor.java
Date Wed, 24 Jul 2002 15:05:25 GMT
craigmcc    2002/07/24 08:05:25

  Modified:    src/share/org/apache/struts/action RequestProcessor.java
  Log:
  Call form.setServlet() before calling form.populate().
  
  Revision  Changes    Path
  1.17      +5 -5      jakarta-struts/src/share/org/apache/struts/action/RequestProcessor.java
  
  Index: RequestProcessor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/RequestProcessor.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- RequestProcessor.java	19 Jul 2002 10:00:41 -0000	1.16
  +++ RequestProcessor.java	24 Jul 2002 15:05:25 -0000	1.17
  @@ -770,6 +770,7 @@
           if (log.isDebugEnabled()) {
               log.debug(" Populating bean properties from this request");
           }
  +        form.setServlet(this.servlet);
           form.reset(mapping, request);
           if (mapping.getMultipartClass() != null) {
               request.setAttribute(Action.MULTIPART_KEY,
  @@ -777,7 +778,6 @@
           }
           RequestUtils.populate(form, mapping.getPrefix(), mapping.getSuffix(),
                                 request);
  -        form.setServlet(this.servlet);
   
       }
   
  
  
  

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


Mime
View raw message