On Wed, 12 Dec 2001, Jan Arendtsz wrote:
> Date: Wed, 12 Dec 2001 11:22:29 -0800
> From: Jan Arendtsz <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Urgent - JDBC Realm in Tomcat
>
> I have searched the archives but not found an answer. I also posted
> this message a few days ago but did not get a response.
>
> My application uses form based authentication using the Tomcat JDBC
> Realm by posting to j_security_check as defined in the servlet
> specification.
>
> Everything works fine except when I enter an invalid user id /
> password combination which results in a redirect to the error page but
> instead of a specific error (such as invalid username/password), I get
> a null pointer exception. I would expect the Tomcat implementation to
> provide specific error messages that specifies an invalid user Id and
> password.
>
> Is this a bug or am I doing something incorrect? Has anyone run into
> this before? Any help is appreciated.
>
> Thanks
> Jan
>
Without seeing an explicit stack trace or error message, it is impossible
to know what is going on. However, Tomcat's only responsibility is to
display whatever error page you declare in the <form-error-page> element.
What happens inside that page is your responsibility.
Craig
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>