Try <html:form action="/j_security_check">. Perhaps with the slash in front
of j_security_check, Struts won't interpret it as an action.

-Max

----- Original Message -----
From: "Boris Folgmann" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, December 18, 2002 2:41 AM
Subject: Re: tomcat's container based authentication and struts


> Max Cooper wrote:
> > Just write out a regular HTML form:
> >
> > <form action="j_security_check">
> > Username: <input type="text" name="j_username"><br>
> > Password: <input type="password" name='j_password"><br>
> > <input type="submit">
> > </form>
> >
> > -Max
>
> This works, but I wanted to use e.g. the focus attribute of struts'
> <html:form>. Any idea? Is it a bug in struts that my action is changed
from
> j_security_check to /j_security_check.do?
>
> cu,
> boris
>
>
> --
> 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]>

Reply via email to