I'm using JDBCRealms, TomCat 4.01, Struts 1.0 with form authentication

With cookies enabled in browser, no trouble; with cookies off in Netscape
4.7 I get:

        Invalid direct reference to form login page

I'm using the following code for the form.

        <form action="j_security_check" method="post">
        <tr>
                <td><p class="size9red"><b>username:</b></p></td>
                <td><input type="text" name="j_username" size="20"
class="formfield"/></td>
                <td><p><br></p></td>
        </tr>
        <tr>
                <td><p class="size9red"><b>password:</b></p></td>
                <td><input type="password" name="j_password" size="20"
class="formfield"/></td>
                <td><input type="image" src="/images/go2.jpg" border="0"/></td>
        </tr>
        </form>

If I convert to <html:form ... I get a /j_security_check not found (I'm not
exactly sure how to create the action mapping for this scenario).

Thanks in advance.

-- jack


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to