Howdy, Define an exception, e.g. MyException. Define an error-page (in web.xml) for that exception. Throw that exception from your servlet.
Yoav Shapira --- seera naveen <[EMAIL PROTECTED]> wrote: > Hi, > > I am using FORM based authentication and JNDIRealm. Is it possible to have > custom error pages in Tomcat? Apart from Invalid username and password, I > want to check for another attribute and if that attribute is not set, I want > to throw another message. > > Thanks > Naveen > > SMS using the Yahoo! Messenger;Download latest version. ===== Yoav Shapira [EMAIL PROTECTED] __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]