You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jack Bakker <jb...@iable.ca> on 2001/12/13 03:38:05 UTC
JDBCRealms, no cookies trouble
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>