I discovered that in web.xml some error pages were mentioned as 
genericError.htm but this file existed no where. I removed the setting of error 
pages from web.xml. But now when a jsp page fails to  compile, nothing at all 
gets written to stdout (earlier there was a stracktrace mentioning 
/genericError.htm). 

" Try catching all exceptions and writing them to stdout or something"
   That is for exceptions that happen during the running of a jsp page right? 
If the jsp page itself fails to compile, what exception is there to catch?

Thanks
Kannan

-----Original Message-----
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: Tuesday, August 17, 2010 8:42 PM
To: Tomcat Users List
Subject: Re: Unable to get any information why jsp page fails to generate code

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kannan,

On 8/17/2010 12:22 AM, Kannan Jayaprakasam wrote:
> Any ideas? 

Try catching all exceptions and writing them to stdout or something. Is
errorPage.html actually a JSP?

If you'll notice, the original exception is java.lang.Exception (which
isn't detailed) and then the stack trace describes the
java.lang.IllegalStateException.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxqprsACgkQ9CaO5/Lv0PC3kQCffwWWfpyLgZBhGcicVpbEo6Sx
zCEAnjceVrPHPdrzm4gUNQcSG9Erxy3C
=w4eY
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to