javax.servlet.exception Error matching patterns
Any idea what that is? I set it up the same as with the Catalina example. As in '/*' in web.xml and '/index.jsp' in security filter.
Thanks in advance. Ronan.
On D�ardaoin, M�r 20, 2003, at 00:20 Etc/GMT, Max Cooper wrote:
You can also use SecurityFilter, a filter-based clone of container-managed
security. It allows you to set a default page to take users to when they log
in "out of the blue". Container-managed security doesn't allow such login
requests.
http://securityfilter.sourceforge.net/
-Max
----- Original Message ----- From: "Scott Barr" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, March 19, 2003 4:12 PM Subject: Re: j_security_check
Hi Ronan
You'll get this when you go directly to the page for the user to login.
Instead, setup a resource that is protected by Container Managed
Security eg. /userHome.do, which will then take you to your login page.
Once login is successful, you will be fowarded on to /userHome.do
Once you've got a logged in user via CMS, you can use Filters (if using
a servlet 2.3 container) to make sure the users session is setup with
all required objects.
To log out, simply call session.invalidate()
Regards Scott Barr www.exergonic.com.au
On Thu, 2003-03-20 at 09:49, ronanoc wrote:
I get this message when I am trying to login, and if I am already logged in too.
Status 404 /mywebapp/j_security_check
type Status report
message /mywebapp/j_security_check
description The requested resource (/mywebapp/j_security_check) is not
available.
How can I prevent this happening, and how can I logout, and log in again? Thanks.
Ronan O'Ciosoig One Louder Recordings IRL Co. Dublin, Ireland. http://www.onelouder.org
--------------------------------------------------------------------- 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]

