jsp line numbers for errors and exceptions with tomcat
Hello,
Can anyone please explain to me under which circumstances tomcat does or does not show jsp line numbers when an error or exception occurs. Is it to do with the problem occurring at translation time or compilation time or runtime? How can I make sure tomcat always show jsp line numbers and not servlet line numbers?
Thanks in advance,
Julien.
[374 byte] By [
balteoa] at [2007-10-2 9:19:51]

You are right. jsp line numbers are shown for compile time errors and servlet line nos for runtime errors.
>How can I make sure tomcat always show jsp line numbers and not >servlet line numbers?
AFAIK, there's no way you can change this nehaviour. In some servers like weblogic, you could always look at the jsp line number by navigating to the generated servlet code. Tomcat, unfortunately doesnt provide such feature.
cheers,
ram.
ram_pa at 2007-7-16 23:26:54 >
