|
 |
pro_jsp thread: with a heavy page JSP "post" nullifies the variables and JSP "get" doesnt post them
Message #1 by "rayhan muxood" <mirzarayhan@h...> on Mon, 17 Jun 2002 05:49:21
|
|
also, GET has a much smaller limit of data to it so maybe its disallowing
the get because of that limit (256 characters I think?) You might need to
chop the form into bits and submit data in sections - the thinking behind
that is this.... If you user spends 40 minutes filling in a form before
submitting it you:
a) are bound to have difficulties getting the thing to work with that much
going on
b) far more users are likely to quite because its taking too long with
giving them some indication of progress
c) they are going to be majorly annoyed when it doesnt work because of the
massive effort to get the data to you
d) the session will have long expired by then
consider changing it to a wizard style number of pages
chanoch
----- Original Message -----
From: "Andrew" <andrew@h...>
To: "Pro_JavaServer_Pages" <pro_jsp@p...>
Sent: Monday, June 17, 2002 9:22 AM
Subject: [pro_jsp] RE: with a heavy page JSP "post" nullifies the variables
and JSP "get" doesnt post them
> Rayhan
> Sounds like many of the variables are not getting submitted correctly.
Are
> they all declared within the <form> . . . </form> tags? This would
explain
> why half goto null.
>
> Also, if you are submitting large amounts of data a "post" request is
> preferred as the "get" request data gets added to the URL and may be
> truncated if it gets too long (depending how much is added).
>
> Without seeing the page code can't say much more. If you submit the page
> code, I suggest the HTML output of the JSP rather than the JSP itself to
see
> what format the HTML is in, as this seems to be the problem.
>
> Hope this helps,
> Andrew
> Professional Java Servlets 2.3
> http://www.amazon.com/exec/obidos/ASIN/186100561X
> http://www.amazon.co.uk/exec/obidos/ASIN/186100561X
>
> -----Original Message-----
> From: rayhan muxood [mailto:mirzarayhan@h...]
> Sent: 17 June 2002 05:49
> To: Pro_JavaServer_Pages
> Subject: [pro_jsp] with a heavy page JSP "post" nullifies the variables
and
> JSP "get" doesnt post them
>
> hi
> i've got a major problem here............i spent nearly a week in making a
> jsp page that has got a big load of variables with it.
> When i submit the page with the "get" method......the page doesn't get
> affected at all and it stays there.....i-e doesn't get submitted........
> As soon as i change the method from "get" to "post", the page does get
> submitted but with half of the variables changed to null. Please keep in
> mind that the page has a large data with it..............Please kingly
> solve my problem...........dont make make me switch and try Asp's :)
>
> thanx
>
>
|
|
 |