jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: JSP stack traces
Date Sat, 10 Apr 2004 12:10:27 GMT
Hi Erich,

For the line number I have no idea. I would have thought that as Cactus
executes in the container you should get exactly what the container
returns. However, the Cactus client side might loose this information
(not sure). I'd suggest you turn on Cactus logging to get server side

For the generated servlet files, it is a container configuration. I
don't know how you set it with Resin. In any case, you have the option
of passing a custom resin config file to the <cactus> Ant task (using
the resinconf attribute).

Hope it helps,

> -----Original Message-----
> From: Erich Oliphant [mailto:ericho@vantixweb.com]
> Sent: 08 April 2004 18:18
> To: cactus-user@jakarta.apache.org
> Subject: JSP stack traces
> Hi,
> I am using Cactus (via Ant & Resin2x w/ a ServletTestCase ) on some
> 'real' :)  JSPs replete with embedded code, etc.  I am planning to
> Cactus to drive some of the refactoring.  I have a small problem
> however.  I am not getting the JSP line # info in exception thrown by
> the JSP but rather the generated servlet.  I believe the containers do
> bit of magic to get you the JSP line info when you have an exception
> a JSP during normal execution.  Is there anyway to get this to work
> during cactus run?  Other problem is that since the temporary
> of the container gets erased, I can't even go look at the generated
> servlet file an work backward from that.
> Any Ideas?
> Erich
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org

View raw message