Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maximum length of URL?

Status
Not open for further replies.

UltraSmooth

Programmer
Oct 28, 2002
97
CA
I have a URL that is 546 characters long. This URL kills my Tomcat session. Is there a maximum lenght to a URL that tomcat can handle, if there is is there anyway workarounds, other than decreasing the lenght of the URL (which I've already done, the URL is launced from an applet which loads a Crystal Report, the URL contains a lot of dynamic paramaters the report needs to run)
 
HTTP POST methods can have any length.
HTTP GET methods can only be 255 characters.
 
Actually the URL is neither a GET or a POST. It is a link launched from within an Applet which opens a new window and hits an IIS server to launch a Crystal Report.
 
So what kind of HTTP method is it then ?!!!
 
Ummm... most browsers, if not all, implement a HTML <a> anchor element using a GET request.

The Maximum URL length is not defined by the standard. It is implemented commonly as 4k ( 4096 bytes ) this includes the QueryString.



-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top