Hey!
See below comments.
Bo Xu wrote:
>
> Hi :-) from the direction of several emails which talked about the different
> kinds of parameters, the following is just as a reference, don't laugh... //haha
> :-)
>
> there are at least 2 kinds of parameters:
> * tailP :-)
> - in a form:
> <FORM ACTION=http://host:8080/servlet/MyServlet?tailP0=vt0 METHOD=POST/GET>
> - we directly enter in a browser:
> http://host:8080/servlet/MyServlet?tailP0=vt0
> - with URLConnection:
> URL url=new URL(http://host:8080/servlet/MyServlet?tailP0=vt0);
> URLConnection uc = url.openConnection();
>
> * bodyP :-)
> it is in a form:
> <INPUT TYPE=hidden NAME=bodyP0 VALUE=vb0>
>
> and I think first you get several tailP(recv) and/or bodyP(recv) in
> MyServlet0, then you want to Add a New tailP(new), and goto
> MyServlet1, is it right? I also find:
> - with RequestDispatcher, I found it will Remember the old tailP(recv),
> and Forget the new tailP(new).
This is not how I understand the spec. The tailP(new) should be added.
> I don't know why very clearly.
> - with sendRedirect(), it will Forget the old tailP(recv), and Remember
> the the new tailP(new). I think it is because of HTTP redirect.
This is correct behavior.
Nic do you concur on this subject comment of mine?
>
>
> if the above is wrong, please correct it, thanks in advance!
>
> Bo
> Mar.23, 2001
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html