Is CustomLogin a resource at a protected URL, or is it a servlet that itself spits out a login page? You can't access j_security_check directly. Instead, you need to access a protected URL, the container sees that you're not logged-in and redirects you to the login form, you submit the login form, and finally the container sends you to the original resource you requested.
john -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. org]On Behalf Of Kevin Andryc Sent: Tuesday, July 02, 2002 12:09 PM To: Tomcat Users List Subject: RE: j_security_check question When I type in the URL: http://localhost:8080/dev/servlet/CustomLogin The form loads with the respective "username" and "password" fields. But when I submit the form to be authenticated, that is when the error appears. Sincerely, Kevin -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
