husted      2002/07/09 16:57:17

  Modified:    src/share/org/apache/struts/actions SwitchAction.java
  Log:
  Javadoc updates. No code changes.
  
  Revision  Changes    Path
  1.5       +14 -14    
jakarta-struts/src/share/org/apache/struts/actions/SwitchAction.java
  
  Index: SwitchAction.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/actions/SwitchAction.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SwitchAction.java 30 Jun 2002 03:38:30 -0000      1.4
  +++ SwitchAction.java 9 Jul 2002 23:57:16 -0000       1.5
  @@ -78,20 +78,20 @@
   
   
   /**
  - * <p>A standard <strong>Action</strong> that switches to a new sub-application
  - * and then forards control to a URI (specified in a number of possible ways)
  - * within the new sub-application.</p>
  + * <p>A standard <strong>Action</strong> that switches to a new module
  + * and then forwards control to a URI (specified in a number of possible ways)
  + * within the new module.</p>
    *
    * <p>Valid request parameters for this Action are:</p>
    * <ul>
  - * <li><strong>page</strong> - Application-relative URI (beginning with "/")
  + * <li><strong>page</strong> - Module-relative URI (beginning with "/")
    *     to which control should be forwarded after switching.</li>
  - * <li><strong>prefix</strong> - The application prefix (beginning with "/")
  - *     of the sub-application to which control should be switched.  Use a
  - *     zero-length string for the default sub-application.  The
  + * <li><strong>prefix</strong> - The module prefix (beginning with "/")
  + *     of the application module to which control should be switched.  Use a
  + *     zero-length string for the default module.  The
    *     appropriate <code>ApplicationConfig</code> object will be stored as a
    *     request attribute, so any subsequent logic will assume the new
  - *     sub-application.</li>
  + *     application module.</li>
    * </ul>
    *
    * @author Craig R. McClanahan
  @@ -152,7 +152,7 @@
               return (null);
           }
   
  -        // Switch to the requested sub-application
  +        // Switch to the requested application module
           RequestUtils.selectApplication(prefix, request,
                                          getServlet().getServletContext());
           if (request.getAttribute(Action.APPLICATION_KEY) == null) {
  @@ -163,7 +163,7 @@
               return (null);
           }
   
  -        // Forward control to the specified application-relative URI
  +        // Forward control to the specified module-relative URI
           return (new ActionForward(page));
   
       }
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to