This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

not getting the value text of submit button

 
jai veer
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a working solution:

Login.jsp


User.jsp



Have tested it and it works, but you should look into Servlet for request/response :)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic