Re: Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-27 Thread Dan Armbrust
On Wed, May 26, 2010 at 12:26 PM, laredotornado laredotorn...@gmail.com wrote: I tried your suggestion, and sadly it didn't work. What is the difference between what the errorPage directive does and what the web.xml error-page clause does?  - Dave I don't think this is directly related, but

Re: Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-27 Thread laredotornado
) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://old.nabble.com/Why-does-errorPage-work-but-WEB-INF-web.xml-error-page-does

Re: Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-27 Thread laredotornado
this message in context: http://old.nabble.com/Why-does-errorPage-work-but-WEB-INF-web.xml-error-page-does-not--tp28681659p28696355.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

Re: Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-27 Thread ramzi khlil
- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://old.nabble.com/Why-does-errorPage-work-but-WEB-INF-web.xml-error

Re: Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kris, On 5/26/2010 1:43 PM, Kris Schneider wrote: Basically, it looks like having a committed response (you've said that your original JSP was partially rendered) can interfere with the error page mechanism. For testing purposes, try increasing

Re: Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-27 Thread Hassan Schroeder
On Wed, May 26, 2010 at 2:18 PM, Christopher Schultz ch...@christopherschultz.net wrote: Your JSP pages should be foolproof. Numeric parsing is better left to a servlet that can properly send the user to an error page without producing any output of its own. +1 on that, and your code will be

Re: Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-27 Thread laredotornado
- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://old.nabble.com/Why-does-errorPage-work-but-WEB-INF-web.xml-error-page-does

Re: Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-27 Thread Dan Armbrust
On Thu, May 27, 2010 at 12:54 PM, laredotornado laredotorn...@gmail.com wrote: You mean for me to put this at the top of my error page (500.jsp), correct? If so, I tried that, but still got the partially rendered page outlined in the Tomcat bug mentioned earlier. There is no way around

Re: Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-27 Thread Mark Thomas
commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://old.nabble.com/Why-does-errorPage-work-but-WEB-INF-web.xml-error-page-does-not--tp28681659p28683804.html Sent from the Tomcat - User mailing list archive at Nabble.com. -- Kris Schneider

Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-26 Thread laredotornado
$SocketConnection.runIt(ChannelSocket.java:891) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:637) -- View this message in context: http://old.nabble.com/Why-does-errorPage-work-but-WEB-INF-web.xml-error-page-does

Re: Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-26 Thread Dave Cherkassky
Dave: I believe you need a fully-qualified class name for the exception, eg: error-page exception-typejava.lang.Exception/exception-type location/error-pages/500.jsp/location /error-page Good luck, -- Dave Cherkassky VP of Software Development DJiNN Software Inc. On 26/05/2010 10:34

Re: Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-26 Thread laredotornado
this message in context: http://old.nabble.com/Why-does-errorPage-work-but-WEB-INF-web.xml-error-page-does-not--tp28681659p28683804.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

Re: Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-26 Thread Kris Schneider
) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://old.nabble.com/Why-does-errorPage-work-but-WEB-INF-web.xml