-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Adam Lipscombe wrote: | Thanks, but this produces the error message: | "javax.servlet.ServletException: Cannot retrieve mapping for action | /j_security_check" | | As far as I know TC should treat the "jsecurity_check" action specially - it | should know that this is a authentication request. It seems to me that TC is | not doing this and passing it onto the Struts libs for processing. | | | Any ideas?
Don't use the Struts specific <html:*> tags. Instead just use the normal HTML tags. The Struts taglibs are there for your convenience when using Struts, but j_security_check is not part of Struts. It is part of the Servlet Spec, and thus implemented by Tomcat. Now if you still want to be able to use the Validator and the conveniences of the Struts tags, then you could write an action the simply forwards the request to j_security_check. I am pretty sure I saw an example somewhere on the Web. Perhaps someone else knows the URL.
HTH, Victor -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAzuqN8MW+BaXrmuERAn1gAJ9zGI6zAc9fWk0iSSL1VPNURn2aogCgnxQ5 ytb9Bs7gpfYbo+m2GeG1MnA= =uOd2 -----END PGP SIGNATURE-----
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]