Your question isn't stupid, I was dealing with the same problem.

anonymous wrote : Is j_security_check a function/module/method/page/whatever in 
tomcat? Or is it some slight of hand that I am not understanding?
The action j_security_check is part of the form-based authentication and thus is part 
of the Servlet spec.

anonymous wrote : How do I map it in the struts-config.xml file?
Not at all. The target j_security_check is handled completely within the Webcontainer.

anonymous wrote : What action class would I point the mapping to?
You cannot catch this event.

anonymous wrote : I saw one place where it said not to use the struts tags for the 
form elements and the struts you wouldn't have to bother with the mapping. But when I 
do this 400 error code, invalid path.
When using <html:form action="j_security_check" ...> you have to provide the 
appropriate mapping otherwise struts will complain about the action. But the 
configured action gets never called, because the action is handled internally.
Furthermore I believe, that struts converts the action "j_security_check" to 
"/j_security_check". This is definitely wrong.
So, it is better to use <form action="j_security_check" ...>.

I hope this helps.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830514#3830514

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830514


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to