Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
-none-

-none-

2007-10-02       - By Novaree

 Back

Len,

You just got yourself a segment in my prayers tonight :)

Thanks a lot. This was _exactly_ what I needed :D

//Casper


Len Popp wrote:
>
> Your error-page declaration only handles errors caused by
> sendError(500). It doesn't handle exceptions thrown by the
> application. To specify an error page that is called for all unhandled
> exceptions, add this:
>
>   <error-page>
>     <exception-type>java.lang.Throwable</exception-type>
>     <location>/whatever.jsp</location>
>   </error-page>
>
> --
> Len
>
>
> On 10/1/07, Novaree <che@(protected)> wrote:
>>
>> Hi Mark,
>>
>> The error page is configured, as described in the docs, in the
>> web.xml-file:
>>
>> <error-page>
>>   <error-code>500</error-code>
>>   <location>/jsp/error/500.jsp</location>
>> </error-page>
>>
>> The stack trace is specific to the error caused by the application, ie.
>> it
>> is not the same error on each and every occation.
>>
>> //Casper
>>
>>
>>
>> Mark Thomas-15 (See http://mas-15.ora-code.com) wrote:
>> >
>> > Novaree wrote:
>> >> Once in a while, when I "accidentally" runs into a code 500 error, I
>> am
>> >> presented with the stack trace instead of the (otherwise properly
>> >> configured) 500.jsp page. The "correct" code 500 page is display,
>> like, 8
>> >> out of 10 times.
>> >
>> > How is it configured?
>> >
>> > What does the stack trace look like?
>> >
>> > Mark
>> >
>> >
>> > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>> > To start a new topic, e-mail: users@(protected)
>> > To unsubscribe, e-mail: users-unsubscribe@(protected)
>> > For additional commands, e-mail: users-help@(protected)
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Unstable-display-of-code-500 (See http://ode-500.ora-code.com)-pages-tf4546619.html
#a12977444
>> Sent from the Tomcat - User mailing list archive at Nabble.com.
>>
>>
>> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>> To start a new topic, e-mail: users@(protected)
>> To unsubscribe, e-mail: users-unsubscribe@(protected)
>> For additional commands, e-mail: users-help@(protected)
>>
>>
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>
>

--
View this message in context: http://www.nabble.com/Unstable-display-of-code
-500-pages-tf4546619.html#a12993643
Sent from the Tomcat - User mailing list archive at Nabble.com.


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.