DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29762>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29762 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2005-02-25 13:43 ------- Better late than never :P Christopher Schultz said: > Anyway, in the short discussion that followed, I asked about how the Struts > "forward" tag worked that comes with struts -- did it require that the request > go through the ActionServlet? The answer was "no": if the request hasn't been > through the ActionServlet, yet, there's a bit of code to insert the proper > attribute into the session before calling RequestUtils.forwardURL(). > > The bit of code is essentially this: > > StringBuffer url = new StringBuffer(); > if (fc.getPath().startsWith("/")) > { > url.append(request.getContextPath()); > > // <new> > if(null == request.getAttribute(Globals.MODULE_KEY)) > request.setAttribute(Globals.MODULE_KEY, moduleConfig); > // </new> > > url.append(RequestUtils.forwardURL(request, fc)); > } I'm sorry, your patch is based on a backwards compatibility hack by the Struts team: http://svn.apache.org/viewcvs.cgi/struts/trunk/src/share/org/apache/struts/util/RequestUtils.java?rev=50366&view=markup ( take a look at getModuleConfig(PageContext) ) It is not a valid scenario for Struts 1.2.x cheers, Marin� -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
