This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

send checkbox values from a jsp to other jsp  RSS feed

 
swetha deshmukh
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jsp page which is displaying some checkboxs with the status retrived from database.When the user clicks on some checkbox the changed status and the database checkbox values should be shown in other jsp page.

Can anyone help me regarding this?

Thanks
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This chapter of "Core Servlets and Java Server Pages" goes over HTML forms and how to use them in a server side Java app. Any good JSP/Servlet tutorial will cover rudimentary issues like this as well.

http://csajsp-chapters.corewebprogramming.com/CSAJSP-Chapter16.pdf
 
pankaj patil
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
write jsp code

<% request.getParameter(checkboxname);

%>

if the user has checked the checkbox then the value of checkbox is retrived

and if the user unchecked the checkbox then the null value is retrived
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!