Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to set the "remember me" checkbox in the jsp

 
sabin ran
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, im making the simple web application, i want to implement the "remember me" facility like in the Hotmail. for that what i have to do. im just the beginner in Servlets and JSP world and im not using any framework. please mention me what i have to study and implement.
thanks
 
Ifteqar Ahmed
Ranch Hand
Posts: 85
Java Linux MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use Cookies like this





EDIT: added code tags
 
sushant verma
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks it worked!!!

just need to change the following:





also i write all the code into a .js file and included into jsp page.
and form event >>> onsubmit="toMem()"

I have tested this for no of days =3 and changed the system date to validate it and the value is field into textfield if no of days is less than system date

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic