File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion 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: 2581

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: 8919

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: max length of doGet() request supported by browser