> as little as 128. So the answer depends on what platform u run your server
> on. Most Linux supports more then 1k, so not that much problem there.
i agree with this recap ... and have been burned by overusing
GET requests with volumnous payloads way back when ... but i
just wanted to add that another reason not to depend on the
specified GET size is that you also have to factor in the fact
that there could be 0 to many proxy servers between the client
and your code ... each of which may have it's own GET processing/
forwarding limitations.
i thought i had it all figured out, per readings specs and the
like ... but when we turned the puppy loose on the open internet
a series of impossible to reproduce errors where reported.
in summary, GET is fast'n easy but do not try to overuse/abuse
it.
- james
Ricky Szeto - CSCI/F95 wrote:
>
> Well, I am not quire sure what you are asking in your first question but
> I can answer your second question which is 4096 according to the HTTP
> specs... BUT since the query string is passed in to the CGI as command
> line arguments, they are subjected to the limitations imposed on line
> argument size of that implemenation of Unix(or other platform). Some are
> as little as 128. So the answer depends on what platform u run your server
> on. Most Linux supports more then 1k, so not that much problem there. Hope
> this helps you.
>
> Ricky Szeto
> E-mail [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> Homepage http://www.scs.ryerson.ca/~rszeto
>
> On Thu, 29 Jul 1999, Dalton Cranston wrote:
>
> > -----Original Message-----
> > From: Dalton Cranston [mailto:[EMAIL PROTECTED]]
> > Sent: 27 July 1999 13:55
> > To: Servlet Mailing List
> > Subject: Can I redirect a get request to a POST request in a servlet
> >
> >
> > Hi All,
> > I am developing a system where we are linking three different web based
> > libraries through a common search screen. This common search screen builds
> > up a frameset as a result, with one of the three original libraries being
> > displayed in a frame within this frameset.
> >
> > I must use a frameset in order to parse the common query parameters into a
> > library specific format to enable me to construct the correct URL for the
> > specific library to be shown in one of the frames. The problems I have are:
> >
> > 1. One of the libraries only uses POST so a <FRAME SRC=<base>?<Parameter
> > list> ..> format is out as it uses GET. Is there a way I can put one of my
> > servlet URL's in the frame and then "redirect" using POST within my servlet
> > to the library specific URL?
> >
> > 2. What is the "real" line length limit for GET URL's? I have been told 1024
> > and 4096 whilst others say do not go over 256, what is the true(ish) story?
> >
> > Thank-you in advance for your help.
> >
> > Dalton
> >
> > ============================================
> > Dalton Cranston, E-mail: [EMAIL PROTECTED]
> > Tel: +44 (0)1628 580600
> > Fax: +44 (0)1628 580610
> > InfoGain Limited, 1 Bell St, Maidenhead, Berkshire, SL6 1BU. U.K.
> > URL: www.infogain.com
> > ============================================
> > Disclaimer: Neither this e-mail nor any attachment places any legal or
> > contractual obligations on InfoGain Limited. Any reproduction, disclosure or
> > dissemination beyond the intended addressees is strictly prohibited save for
> > the legitimate business purposes of InfoGain Limited and its clients or
> > partners.
> > ============================================
> >
> > ___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html