File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes how to set the Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "how to set the "remember me" checkbox in the jsp" Watch "how to set the "remember me" checkbox in the jsp" New topic

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

sabin ran

Joined: Aug 06, 2010
Posts: 22
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.
Ifteqar Ahmed
Ranch Hand

Joined: May 02, 2011
Posts: 85

Use Cookies like this

EDIT: added code tags
sushant verma

Joined: Jun 08, 2011
Posts: 8
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

I agree. Here's the link:
subject: how to set the "remember me" checkbox in the jsp
It's not a secret anymore!