Forums Register Login

all getParameter returns null!

+Pie Number of slices to send: Send
I'm new to JSP. This should be an easy question but I cannot figure it out and I have read all relevant postings here:
I have a html page that includes a form:
<form action="process.jsp" method="get">
...
Then I have process.jsp which prints out all the values of the fields inside the form using request.getParameter("fieldname"). But for all fields I get null, no matter it is a testbox or a select.
Can anyone tell me why?
+Pie Number of slices to send: Send
send the code. It will help to better understand.
+Pie Number of slices to send: Send
I think I found the problem. It is because I used fieldset tag in my form somehow and I don't know why. But when I delete that tag everything works fine
no wonder he is so sad, he hasn't seen this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 795 times.
Similar Threads
JSP Form Validation
retrieving textarea contents into a bean
Handling Null Values In Jdbc
RequestDispatcher vs sendRedirect
ENCTYPE='multipart/form-data and request.getParameter
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 07:41:06.