dgraham 2003/08/02 14:21:32 Modified: src/share/org/apache/struts/actions SwitchAction.java Log: Replace RequestUtils calls with ModuleUtils. Revision Changes Path 1.11 +6 -6 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.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- SwitchAction.java 11 Jul 2003 23:47:57 -0000 1.10 +++ SwitchAction.java 2 Aug 2003 21:21:31 -0000 1.11 @@ -73,7 +73,7 @@ import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import org.apache.struts.util.MessageResources; -import org.apache.struts.util.RequestUtils; +import org.apache.struts.util.ModuleUtils; /** * <p>A standard <strong>Action</strong> that switches to a new module @@ -148,7 +148,7 @@ } // Switch to the requested module - RequestUtils.selectModule(prefix, request, getServlet().getServletContext()); + ModuleUtils.getInstance().selectModule(prefix, request, getServlet().getServletContext()); if (request.getAttribute(Globals.MODULE_KEY) == null) { String message = messages.getMessage("switch.prefix", prefix);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]