struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Cooper" <...@maxcooper.com>
Subject Re: tomcat's container based authentication and struts
Date Wed, 18 Dec 2002 10:30:49 GMT
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

----- Original Message -----
From: "Boris Folgmann" <misc@folgmann.com>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Wednesday, December 18, 2002 2:20 AM
Subject: tomcat's container based authentication and struts


> Hi!
>
> I want to add tomcat's container based authentication to a struts
application.
>
> Tomcat already displays my login.jsp, but the problem is to get
> action="j_security_check" in the form generated by struts' <html:form>
>
> I tried <html:form action="j_security_check" ...>, but this gets
translated
> to action="/j_security_check.do" in the generated HTML file. How can I
> prevent this, or is there an other way to integrate it in struts?
>
> cu,
> boris
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message