aspose file tools*
The moose likes JSP and the fly likes not getting the value text of submit button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "not getting the value text of submit button" Watch "not getting the value text of submit button" New topic
Author

not getting the value text of submit button

jai veer
Greenhorn

Joined: Aug 21, 2013
Posts: 2
Ishitha Dyanil wrote:

Hi,

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.
Frederik Nielsen
Greenhorn

Joined: Aug 25, 2013
Posts: 14
Here is a working solution:

Login.jsp


User.jsp



Have tested it and it works, but you should look into Servlet for request/response :)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: not getting the value text of submit button