tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandyal" <m_nand...@attbi.com>
Subject Re: How do I get the line number in a JSP .....
Date Wed, 29 Jan 2003 13:17:54 GMT
Thanks John, I have done that. I think, my question was  not clear. In
Weblogic, you could set the following tags:
<jsp-descriptor>
        <jsp-param>
            <param-name>debug</param-name>
            <param-value>true</param-value>
        </jsp-param>
    </jsp-descriptor>
in web.xml file to get the line number of the exception directly from the
.jsp file. Is there something similar to this in tomcat by which I can get
the line number?

Thanks
Nandyal



----- Original Message -----
From: "Turner, John" <JTurner@AAS.com>
To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
Sent: Wednesday, January 29, 2003 6:17 AM
Subject: RE: How do I get the line number in a JSP .....


>
> 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
>
>


---------------------------------------------------------------------
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