You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michael Zhou <xm...@cisco.com> on 2002/03/19 16:57:49 UTC

Maximum length of URL

Hello,

We are running Tomcat 4.0 on Solaris 2.8 and are using GET method on a form which encodes all the parameter/value pairs
into the request URL.

I am wondering if there is a limit on the length of URL as in old days when CGI was used. In CGI, there is such a limit
(for example, 256 characters) because the query string is stored in an environmental variable QUERY_STRING and this
string is subject to limitation of the underlying operating system.

We are reluctant to use POST method on that form because it causes annoying navigational problems -- you see some
information like "Page expires or POSTDATA expires, click Refresh to resubmit your information blah blah blah" when you
hit Back or Forward in your browser.

--
Michael


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>