A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. 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