tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: custom error page
Date Wed, 05 Nov 2003 12:11:20 GMT
Try using request.getRemoteUser(). Since authentication was successful but 
authorization was not, I am unsure if that method will return the desired value.

-Tim

Stephen Ting wrote:

> I created a custom error page, and it's work. However, I need to include
> some additional message, such as user not in the role to access that
> page or etc, such as message shown below from tomcat default error page.
> Can somebody give me some pointer how to archive this?



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message