Hi,
I have a simple probleme, I guees. I have build a simple Java Web App
(Struts, Log4J) with some JSP pages, and I have some difficulty to see
the stack trace of a Java Exception when running a JSP page. If the
page has started to be written, I can see the java exception (I see the
stack trace in a classic error page). But if the page has been started
to be written, per exemple when the the java exception is thrown in the
middle of the JSP page (in a DAO call), I cannot see any stack trace in
the page in the Log4J log or in the console... Tomcat is catching the
Exception but not writing it anywhere...
How can I change this? I would like to see the exception either in the
console or in the jsp page... I could maybe check in the Struts-config
to redirect Exception in a Error JSP page, but I doubt it would work,
because the jsp page has started to be written and cannot be change for
an other one in the process to be written.
Thanks for replying.
Etienne.
Montreal
aostrik@gmail.com - 27 Jun 2006 21:03 GMT
Have you checked Tomcat logs ?
> Hi,
>
[quoted text clipped - 18 lines]
> Etienne.
> Montreal
etienno@gmail.com - 28 Jun 2006 09:44 GMT
You are right, the stack trace is there! This can be fine for me, but
is it possible to reroute this stack trace into the eclipse (IDE)
console?
Thanks anyway.
Etienne.
> Have you checked Tomcat logs ?
>
[quoted text clipped - 20 lines]
> > Etienne.
> > Montreal
aostrik@gmail.com - 28 Jun 2006 21:29 GMT
I don't know about Eclipse, but you can definitely do that in IDEA.
> You are right, the stack trace is there! This can be fine for me, but
> is it possible to reroute this stack trace into the eclipse (IDE)
[quoted text clipped - 28 lines]
> > > Etienne.
> > > Montreal