Here's the login.jsp

<html>
<head>
<title>Realm Login</title>
</head>
<body>
<h2>JNDIRealm (LDAP) Login</h2>
<p>Current User: <%= request.getUserPrincipal() %></p>
<form method="POST" action="j_security_check">
    <input type="text" name="j_username"> <br>
    <input type="password" name="j_password"><br>
    <input type="submit">
</form>
</body>
</html>

On Tue, Apr 15, 2008 at 7:40 AM, Caldarale, Charles R <
[EMAIL PROTECTED]> wrote:

> > From: Michael Teter [mailto:[EMAIL PROTECTED]
> > Subject: that old problem - Invalid direct reference to form
> > login page
> >
> > This is a pretty simple case.  Everything I've seen on forums
> > related to this problem focus on the idea that the user has
> > directly requested the login page.  I absolutely haven't done that.
>
> No, but your login.jsp may well have.  Posting that would help.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to