This is what you could do:
1) Configure a
jsp (lets say login.jsp) in the web.xml for FORM based authentication
2) Let's assume you want to secure a resource named admin.jsp
3) So whenever some unauthenticated user tries accessing admin.jsp, he will be redirected by the server to login.jsp.
4) The login.jsp (might use some javascript) to check whether the Remember Me was selected and if yes then pick up the login information from some cookie. It will then submit the form in login.jsp (using form.submit through javascript) to j_security_check action. Once this is done, the flow would follow the normal course.
Is this what you are looking for?
Disclaimer: I am not good at the security related stuff and haven't tried this personally