|Click on JSP error to view source [message #512661]
||Fri, 05 February 2010 21:38
Originally posted by: nowhere.a.com|
If I do something stupid in a JSP code snippet, the console shows what the error was, and where the error occurred in the JSP file.
However the location given is actually in the application's work directory and not within the project:
Feb 5, 2010 1:21:25 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
at org.apache.jsp.pages.location.edit_jsp._jspService(edit_jsp. java:78)
I can go manually to the location (in this case Tomcat, the root directory would be C:\Tomcat\work\Catalina\localhost\app, so the full path to the error would be:
C:\Tomcat\work\Catalina\localhost\app\org\apache\jsp\pages\l ocation\edit_jsp.java at line 78
So a plain text editor could be opened (with line numbers). If I see the code I can then refer back to the JSP within Eclipse.
Does Eclipse provide this, or would it be an enhancement request?
Powered by FUDForum
. Page generated in 0.05653 seconds