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=866>.
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=866

Clean Way to Add Parameters to Redirecting Forward





------- Additional Comments From [EMAIL PROTECTED]  2004-06-18 04:06 -------
A comment I can make is to recommend that this feature be available for both
direct forwards and for redirects by applying the same logic as can be found in
<jsp:forward> PageContext.forward and the servlet API's RequestDispatcher.

See the forward method here:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PageContextImpl.java?rev=1.60&view=markup

Or see the RequestDispatcher.forward method. When these forwards occur and there
are new parameters on the query string, the original request parameters are
dropped and the query string appears to be reparsed.

The best example of a consistent behavior that people probibly would expect is
that of <jsp:forward> where

<jsp:forward page="Test2.jsp">  
   <jsp:param  name="test2" value="test2"/>     
</jsp:forward>

forwards with the prarmaters in the request adjusted to "?test2=test2" and


<jsp:forward page="Test2.jsp".>

reuses the parameters found in the original request.

-Mark Diggory

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

Reply via email to