Post a hidden field value

R

Rauf ul Hassan

I submit a form with a submit button and method of form is Post. When
I use request.getParameter() in the next page to get the value of a
hidden field, I get a NULL value. However when I use Get method it
works fine, but I have to use the Post method as I dont want a long
URL as it might exceed the URL length limit.
By the way sometimes I do get the value but frequency of not getting
the value is very high.
Can anyone please help me with this problem?

Syed Rauf.
 
A

Andy Fish

From your description, you certainly seem to be doing the right thing.

I would suspect the problem is either (a) a bug in your client side code
which is not setting the field as you think, or (b) something in your server
side which needs POSTs to be treated differently to GETs
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top