[cvs] expresso commit by mtraum: fix deprecated

JCorporate Ltd jcorp at jcorporate.com
Sun Feb 13 15:53:05 UTC 2005


Log Message:
-----------
fix deprecated

Modified Files:
--------------
    expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/controller:
        Controller.java

Revision Data
-------------
Index: Controller.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/controller/Controller.java,v
retrieving revision 1.108
retrieving revision 1.109
diff -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/core/controller/Controller.java -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/core/controller/Controller.java -u -r1.108 -r1.109
--- expresso-web/WEB-INF/src/com/jcorporate/expresso/core/controller/Controller.java
+++ expresso-web/WEB-INF/src/com/jcorporate/expresso/core/controller/Controller.java
@@ -1689,7 +1689,7 @@
                 if (mp != null) {
                     // The form bean is multipart HTTP request so we
                     // need to handle it as such. Certain parameters
-                    // in the `HttpServletRequest' may be multipart
+                    // in�the `HttpServletRequest' may be multipart
                     // file types.
                     if (log.isDebugEnabled()) {
                         log.debug("Multipart request");
@@ -1751,7 +1751,7 @@
             // Find out if there is a request state from the
             // abstracted "ControllerRequest" parameters. Note this
             // different from the "HttpServletRequest"
-            // parameters. By the time we get here. A "state" set by a
+            // parameters. By�the time we get here. A "state" set by a
             // button (Transition) will have been picked up and
             // set. Likewise a "state" parameter from the
             // "HttpServletRequest", if any.  So we are checking for
@@ -1929,7 +1929,7 @@
 
 
             // Remove the last controller response from the request
-            // scope in preparation for invoking the new state method.
+            // scope in�preparation for invoking the new state method.
             request.removeAttribute(ExpressoConstants.CONTROLLER_RESPONSE_KEY);
             dbName = req.getDataContext();
             userName = req.getUser();
@@ -1982,7 +1982,7 @@
                     // Here is a fix for multipart action form beans that
                     // are "session" scoped.  We need to reset the
                     // multipart request handler for these beans in order
-                    // to prevent infinite looping in the Controller's
+                    // to prevent infinite looping in�the Controller's
                     // transition mechanism.
                     form.setMultipartRequestHandler(/*MultipartRequestHandler*/ null);
                 }
@@ -2288,7 +2288,7 @@
         }
 
         ActionForward forward = new ActionForward(fwd.getPath(), fwd.getPath()
-                , fwd.getRedirect(), fwd.getContextRelative());
+                , fwd.getRedirect(), fwd.getModule());
 
         return forward;
     }


More information about the cvs mailing list