This error means that you directly referenced the login page. This is an annoyance with Tomcat security realms: you get authenticated, but since you weren't going anywhere in the realm, you get the HTTP Status 400 error. Rather than accessing the login page, simply access any page that is protected by the realm. Tomcat will bounce you to the login page and, following successful authentication, will bounce you to the page you were originally trying to access.
Andrew -----Original Message----- From: Brown, Melonie S. - Contractor [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 12:04 PM To: [EMAIL PROTECTED] Subject: Tomcat Realm Example Problems Running Tomcat 4.1.12 on Windows 2K... I try running the jsp security realm example and get the following error after logging in: HTTP Status 400 - Invalid direct reference to form login page type Status report message Invalid direct reference to form login page description The request sent by the client was syntactically incorrect (Invalid direct reference to form login page). Any suggestions? This is from the example code provided. I have made no changes. Melonie Brown -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
