• Post Reply Bookmark Topic Watch Topic
  • New Topic

checkbox value to java class  RSS feed

 
divya kundapur
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i have a html form with 2 html checkbox and a submit button. When the user selects one checkbox i need the value of it in java class. How can i get that value ?
 
Mohamed Inayath
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Divya,

I believe you submitting the HTML form to a Servlet.
Then retrieve the value from request and set it to the Java class.

 
divya kundapur
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

thank you very much.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!