Tomcat webapps directory in windows

I am currently using eclipse to develop a simple web application, and I am using Tomcat as a web server. I configured Tomcat in Eclipse and my application is working fine.

My question is: where does Tomcat store the web application and in which folder does it store the classes? I wanted to test the JSP for servlet conversion and wanted to check what this converted file looks like and I'm trying to find where exactly Tomcat stores the web application. I went into the webapps folder where Tomcat was extracted, but my webapp is not in this folder. Can anyone tell where I can find the converted JSPs?

+7
source share
2 answers

right-click the web project and select Run As , then Run Configurations ...

On the Arguments tab, the tomcat deployment path is provided as a VM argument named -Dwtp.deploy

+6
source

Location found. Double click on the tomcat server inside eclipse and get the server path. something like this .. C: \ EclipseWorkspace.metadata.plugins \ org.eclipse.wst.server.core \ tmp0

The web application location will be in the .metadata folder inside the eclipse workspace (chk server path), and the converted jsp files can be found in the location as shown below.

ServerPath \ work \ Catalina \ local \ loginApp \ org \ Apache \ JSP

@Admins ... This question may be closed or something needs to be done.

Thanks.

+2
source

All Articles