Double-click the Tomcat entry on the Servers tab in Eclipse. In the "Server Locations" section, you will see something like this:

If you have not changed the path to the server and, thus, the Eclipse workspace metadata is set by default, then the Tomcat /work directory is not in the Tomcat installation folder, but in the path, as shown in the screenshot above.
Unrelated to a specific problem, if you stick to JSP coding guidelines and avoid Java code in JSP in general , then debugging will be much easier, along with many other benefits.
source share