You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Darren Hill <dh...@724.com> on 2002/11/18 20:21:03 UTC

j_security_check

Wow.

I had this working awesome ... now I get a 

HTTP ERROR: 404 Not Found
RequestURI=/CMWeb/WEB-INF/pages/j_security_check 

from the following jsp

<form method="POST" action="j_security_check" >
<tr><td colspan="2"></td></tr>
<tr><td><bean:message key="login.page.form.email.label"/></td><td><input
type="text" name="j_username"></td></tr>
<tr><td><bean:message key="login.page.form.password.label"/></td><td><input
type="password" name="j_password"></td></tr>
<tr><td colspan="2"><html:submit><bean:message
key="login.page.form.submit.label"/></html:submit></td></tr>
</form>

Its obvious that struts is trying to locate the action 'j_security_check' in
the struts-config.xml file ... 
Is there a way I can get Struts to ignore this ( not look it up ) so that
the container can capture this request?

Darren.

P.S.  I DID search the archives with no lucl.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: j_security_check

Posted by Michael Lee <ml...@hotmail.com>.
Dont use struts <html:something> tags inside your form. <bean:message> and
such are ok. Otherwise, it thinks you want to use an ActionForm.
Mike

----- Original Message -----
From: "Darren Hill" <dh...@724.com>
To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>
Sent: Monday, November 18, 2002 2:21 PM
Subject: j_security_check


> Wow.
>
> I had this working awesome ... now I get a
>
> HTTP ERROR: 404 Not Found
> RequestURI=/CMWeb/WEB-INF/pages/j_security_check
>
> from the following jsp
>
> <form method="POST" action="j_security_check" >
> <tr><td colspan="2"></td></tr>
> <tr><td><bean:message key="login.page.form.email.label"/></td><td><input
> type="text" name="j_username"></td></tr>
> <tr><td><bean:message
key="login.page.form.password.label"/></td><td><input
> type="password" name="j_password"></td></tr>
> <tr><td colspan="2"><html:submit><bean:message
> key="login.page.form.submit.label"/></html:submit></td></tr>
> </form>
>
> Its obvious that struts is trying to locate the action 'j_security_check'
in
> the struts-config.xml file ...
> Is there a way I can get Struts to ignore this ( not look it up ) so that
> the container can capture this request?
>
> Darren.
>
> P.S.  I DID search the archives with no lucl.
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: j_security_check

Posted by Gemes Tibor <ge...@regens.hu>.
2002-11-18, h keltezéssel Darren Hill ezt írta:
> Wow.
> 
> I had this working awesome ... now I get a 

I never had this phenomenon before however I use extension mapping so 
j_security_check never matches *.do.

Tib


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>