A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
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!
It is sorta covered in the
JavaRanch Style Guide
subject: ServletRequest getContentLength method
Keep getting NullPointerException
How to See the HTTP Message Exchange between browser and Tomcat?
doGet and doPost() difference
Anatomy of an HTTP POST request
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014