tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: How do I get the line number in a JSP .....
Date Wed, 29 Jan 2003 13:17:37 GMT

Go to Tomcat's work directory.  Drill down within that directory until you
find that java file.  All JSPs are converted to .java files, then compiled
into servlets by Tomcat (or rather, Jasper).  Open up the java file in an
editor, go to that line number.

John


> -----Original Message-----
> From: Nandyal [mailto:m_nandyal@attbi.com]
> Sent: Wednesday, January 29, 2003 7:37 AM
> To: Tomcat Users List
> Subject: Re: How do I get the line number in a JSP .....
> 
> 
> Is there something that I need to add to web.xml file so that 
> I could get
> the line number of a JSP when an exception gets thrown?
> 
> Currently, when a NullPointerException is thrown, it gives me 
> only the line
> number in the translated .java file.
> 
> Nandyal
> 
> ----- Original Message -----
> From: "Nandyal" <m_nandyal@attbi.com>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Tuesday, January 28, 2003 9:33 PM
> Subject: How do I get the line number in a JSP .....
> 
> 
> Gurus,
>    How do I get the line number in a JSP, when an exception occurs?
> Currently, the stack trace prints
> NullPointerException and says Unkown source.
> 
> Any help would be highly appreciated.
> 
> Thanks
> Sesha
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message