I'm new to jsp and java world,
here I'm trying to use some form and getting those parameters and I'm using simple logic that if the submit values are null send that to again same page rytelse
printing the values.
But the problem is getting evey time submit value null.
tried with hidden value but not worked for the logic.
So can anyone help me please,how to get the values of type=submit...
Hi Ishitha Dyanil, I'm also facing the same problem of not getting the value text of submit button. Don't know what's going wrong.. always shows null. This null thing happens only with button/submit button. Running fine with radio and checkbox types. If you had found the solution please please, tell me the same.
posted 2 years ago
Here is a working solution:
Have tested it and it works, but you should look into Servlet for request/response :)