Hi! On 12/29/05, Priya Saloni <[EMAIL PROTECTED]> wrote: > > Hi there, > > I have a requirement like this where i need to remember the user names for > a > computer.Can some one suggest me how to implement this using struts based > framework.. > > Example: > > *Username: * *Password: * Remember my BCP username.
You could use a cookie to store the username on the users computer. It is saved by the browser actually so if the user logs in with IE and then with Mozilla, Mozilla won't know about the cookie set in IE. Look at the servlet API: javax.servlet.http.Cookie javax.servlet.http.HttpServletRespone.addCookie(Cookie) javax.servlet.http.HttpServletResponse.getCookies() Thanks In Advance Hope it helps Priya > > Tamas