Think of POST like the browser opening an OutputStream and the server
opening an InputStream. The form data is just sent as a byte feed and then
reinterpretted by the server. This means that the data size is effectively
unlimited. You don't have to worry about this as your servlet is talking to
the server and will get the reconstructed data.  Monitoring the requests
will most likely just show you the HTTP header which is all text based. When
you use doPost in your servlet it knows to look a biot deeper in the server
to get the parameters. The end result from the server side is much the same,
you just read in the parameters.

GET on the other hand is just a simple text string and has a limit of 254
characters/bytes. Anyone who can trap your HTTP header can read this.

Also I would recomend not using GET if you want to guarantee that the page
gets refreshed. It is too easy for people to cut and paste URL with
parameters intact when you use GET.

Jarec

--------------------------------------------------

Hi Jarec,

Thanks for your reply,

Streaming of data means? How is it done or achieved?
Will the entire form data sent to the server?

Cause I have created a simple web server to monitor the requests from
browser,
So when I used it to monitor the request, I was surprised to see there was
no
form data passed back to the server. Can you tell me how this is achieved?

I also heard that for large data, it's advisable to use POST rather than
GET why is
it so?

With Regards,
Vivin.

___________________________________________________________________________
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

Reply via email to