File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Web Component Certification (SCWCD/OCPJWCD)
ServletRequest getContentLength method
Joined: Dec 26, 2007
Dec 15, 2009 09:34:45
Please observ the following GET request
GET /select/SelectBeerTaste.jsp?color=dark&taste=malty HTTP/1.1 Host: www.wickedlysmart.com | | Connection: keep-alive
What will be content length? Will it be equal to the size of 'color=dark&taste=malty' only?
What else can be included in content length if request is GET.
POST /advisor/SelectBeerTaste.do HTTP/1.1 Host: www.wickedlysmart.com | | Connection: keep-alive color=dark&taste=malty
What will be content length in POST request? Will it be equal to the size of 'color=dark&taste=malty' only? What else can be included in content length if request is POST.
We will have a future if we save Nature!
I agree. Here's the link:
subject: ServletRequest getContentLength method
Anatomy of an HTTP POST request
doGet and doPost() difference
How to See the HTTP Message Exchange between browser and Tomcat?
Keep getting NullPointerException
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015