struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hookom, Jacob" <>
Subject RE: [OT] Anatomy of a long URL
Date Mon, 28 Jun 2004 14:20:36 GMT
Not if it's a POST.

Example, we had a page that allowed you to modify multiple items at once in
a list and submit them via a GET.  This worked fine in testing.  As
customers started to use the app, their list of items got very large and the
data submitted got much larger-- a much longer URL being submitted.  But, it
stopped working for some customers.  After some investigation, we realized
the we couldn't use a GET because the URL was too long.  Changing to a post
fixed it.  I believe the max length is 256.

/app/,4,92,10&1di=4,23,45,12&usr01=432,43,22,4 ....

/app/  (all the data isn't encrypted in the URL)

-----Original Message-----
From: Rick Reumann [] 
Sent: Monday, June 28, 2004 9:11 AM
To: Struts Users Mailing List
Subject: Re: [OT] Anatomy of a long URL

Hookom, Jacob wrote:

> Another example is JSF.  JSF allows you to store your state client side or
> server side.  If it's client side, your buttons, etc become POSTs instead
> GETs in order to get around the URL length limit.  Also, hidden fields are
> written out with your objects serialized into a string that you repost
> time you click a link on the page.

I thought there was a limit to how large URLs can be (maybe that's a 
server limitation though?).. wouldn't the above potentially cause problems?


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message