This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes max length of doGet() request supported by browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "max length of doGet() request supported by browser" Watch "max length of doGet() request supported by browser" New topic
Author

max length of doGet() request supported by browser

Meghasyam Bokam
Greenhorn

Joined: Feb 27, 2003
Posts: 16
Hi all,
What is the maximum length of characters in a doGet() request supported by the address bar of a browser?
Does it varies for each browser, if so what are the different lengths supported by each of most popular browsers? what is the default length supported by any browser?


Regards,<br />Meghasyam.<p>SCJP1.4
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
All browser are support 256 but container can be suppport unlimit text's length.


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
deepak kukreja
Ranch Hand

Joined: Aug 13, 2001
Posts: 54
i believe the max length is 255 characters.


Deepak<br />SCJP
Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2578

I have not yet found any official document that specifies HTTP GET limit, but as everybody suggested, you should keep it to 255 characters or turn to POST after that.
HTH,
- Manish
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

The length is browser dependent.


Groovy
Meghasyam Bokam
Greenhorn

Joined: Feb 27, 2003
Posts: 16
Hi Pradeep,
Originally posted by Pradeep Bhat:
The length is browser dependent.

I need the max limits supported by different browsers(for eg: ie, netscape, etc.,). Or tell me where I can find that.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: max length of doGet() request supported by browser
 
Similar Threads
calling post method
Reading int headers from a Servlet
Post / Get
How to Request Object
doGet() confusion