On Wed, Aug 11, 2004 at 11:32:08AM +0800, Eric Chow wrote:
: If I input the right username and password that has the role for the
: protected page, everything is ok. But if I input a correct username and
: password that is not a correct role for the protected page, it just show
: "HTTP Status 403 - Access to the requested resource has been denied".
:  [snip]
: If the role is incorrect, how can I re-show the login page ??

There should be an <error-page> child element of <security-constraint>.
(-or something like that, I forget the exact tag name.  See the servlet
spec for details.)

Make that error page the login page.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to