This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes ServletRequest getContentLength method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "ServletRequest getContentLength method" Watch "ServletRequest getContentLength method" New topic
Author

ServletRequest getContentLength method

Sharmila Punde
Ranch Hand

Joined: Dec 26, 2007
Posts: 133
Dear All,

Please observ the following GET request



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.



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.

Regards
Sharmila


Regards, Sharmila.
We will have a future if we save Nature!
 
Consider Paul's rocket mass heater.
 
subject: ServletRequest getContentLength method
 
Similar Threads
Anatomy of an HTTP POST request
doGet and doPost() difference
ServletInputStream
Keep getting NullPointerException
How to See the HTTP Message Exchange between browser and Tomcat?