Re: ExtendedActionForward

2004-06-19 Thread Mark R. Diggory
parameters from the request object in a JSP page! I assume this object is a copy of the original? -Mark Mark R. Diggory wrote: So here is a pruned down verison of my ExtendedActionForward. Martin, the request object constructor is there as a feature for when the forward is a redirect, using t

Re: ExtendedActionForward

2004-06-18 Thread Mark R. Diggory
So here is a pruned down verison of my ExtendedActionForward. Martin, the request object constructor is there as a feature for when the forward is a redirect, using this constructor builds a redirect which also includes all the original parameters as well as those that were added. -Mark Mark R

Re: ExtendedActionForward

2004-06-18 Thread Mark R. Diggory
Not only that, I now understand that replace and remove can't be done based on current RequestDispatcher behavior. This behavior is slightly odd for RequestDispatcher though. Why if the "getQueryString()" is completely replaced on forward, is not the parameter map? Or from the opposit perspecti

Re: ExtendedActionForward

2004-06-18 Thread Mark R. Diggory
Duh, I see it now, yes your right, Thats a totally stupid mistake in my code, there are no problems with the forwarding behavior of Stuts... Isn't that always the case...;-) Mark Martin Cooper wrote: On Fri, 18 Jun 2004, Mark R. Diggory wrote: Martin, I looked into this a little deeper and I'm

Re: ExtendedActionForward

2004-06-18 Thread Martin Cooper
On Fri, 18 Jun 2004, Mark R. Diggory wrote: Martin, I looked into this a little deeper and I'm slightly baffled by something. javax.servlet.RequestDispatcher.forward(request,response); This method pretty much manages the forwarding of requests, and is what is used by the Servlet API and the JSP A

Re: ExtendedActionForward

2004-06-18 Thread Mark R. Diggory
Martin, I looked into this a little deeper and I'm slightly baffled by something. javax.servlet.RequestDispatcher.forward(request,response); This method pretty much manages the forwarding of requests, and is what is used by the Servlet API and the JSP API's when doing forwarding. If I understand

Re: ExtendedActionForward

2004-06-17 Thread Mark R. Diggory
Gladly... Hubert Rabago wrote: An extension to add parameters to the ActionForward! Join the club! :) Maybe you can add this to the enhancement request which covers this issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=866 Hubert --- "Mark R. Diggory" <[EMAIL PROTECTED]> wrote: I just

Re: ExtendedActionForward

2004-06-17 Thread Mark R. Diggory
Martin Cooper wrote: On Thu, 17 Jun 2004, Mark R. Diggory wrote: I just finally joined the dev list Welcome! , so pardon if this might be an old subject but... It's been discussed a few times. I came up with a simple Extension to ActionForward to manage the addition of parameters in the forward

Re: ExtendedActionForward

2004-06-17 Thread Martin Cooper
On Thu, 17 Jun 2004, Mark R. Diggory wrote: I just finally joined the dev list Welcome! , so pardon if this might be an old subject but... It's been discussed a few times. I came up with a simple Extension to ActionForward to manage the addition of parameters in the forwards request and posted i

Re: ExtendedActionForward

2004-06-17 Thread Hubert Rabago
An extension to add parameters to the ActionForward! Join the club! :) Maybe you can add this to the enhancement request which covers this issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=866 Hubert --- "Mark R. Diggory" <[EMAIL PROTECTED]> wrote: > I just finally joined the dev list,

ExtendedActionForward

2004-06-17 Thread Mark R. Diggory
javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionForward; public class ExtendedActionForward extends ActionForward { private Hashtable parameters = new Hashtable(); public ExtendedActionForward(ActionForward forward) { super(forward.getName(),forward.getPath(),forward.getRedirect