What is the proper way to debug jsps especially for runtime exceptions, because when it gives the compile time error then it mentions the specific jsp file with line number, but when it is compiled into servlet then afterwards if a runtime exception occurs then sometimes it is not easy to trace the error even by opening the .java file created by the server. Please tell me if there are any debuggers available for jsps?
Peter den Haan
posted 15 years ago
Originally posted by ali farid: What is the proper way to debug jsps especially for runtime exceptions [...]
Usually it's quite clear where the problem is, especially if you did the Good Thing and put most of your code in beans and/or tag libraries. When you're stumped, find out where your application server keeps the processed .java file for your jsp. Borland JBuilder 4 is very good at debugging jsps; I was impressed. The competition won't be far behind (if behind at all). Whether you'll find decent jsp debugging in any of the free versions, I rather doubt it. But I'd love to be told otherwise - Peter
Evil is afoot. But this tiny ad is just an ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user