This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
Author

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

sabin ran
Greenhorn

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.
thanks
Ifteqar Ahmed
Ranch Hand

Joined: May 02, 2011
Posts: 85

Use Cookies like this





EDIT: added code tags
sushant verma
Greenhorn

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

 
wood burning stoves
 
subject: how to set the "remember me" checkbox in the jsp
 
Similar Threads
How to make the server stop the page for evaluation
Realizing a web app w. Hibernate and Spring. Hints & advises?
realm jndi active directory help
problem in output format
A Design Problem