Now I agree html:form  loging form would not work with neither container
managed security or securityfilter

-D
----- Original Message -----
From: "Dan Allen" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, March 09, 2003 3:21 PM
Subject: Re: SecurityFilter with Struts Form


>
> > I use plain old html form for my login form.
> > I dont see any problem either using html:form tag.
>
> Let me try to explain more clearly why using html:form will fail.
> Consider the following jsp snippet
>
> <html:form action="/j_security_check">
> </html:form>
>
> output
>
> <form action="/project/j_security_check.do" method="POST">
> </form>
>
> problem
>
> the form action does not "endsWith" "/j_security_check" but rather
> it "endsWith" "/j_security_check.do" so therefore the security
> filter login never gets called and you are back to Struts action
> mappings.
>
> Maybe if I change to using /do/* as my action suffix I can get
> around it, but it seems to me like a problem.
>
> Dan
>
> p.s. Max, I understand about the documentation thing, sorry to come
> down on you, I am just overworked and underfed here...its been a
> long week.
>
> --
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Daniel Allen, <[EMAIL PROTECTED]>
> http://www.mojavelinux.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Microsoft's Law of Software Engineering:
> Don't worry if it doesn't work right.
> If everything did, we'd be out of a job.
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

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

Reply via email to