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:[EMAIL PROTECTED]]
> 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" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to