jchips12
jchips12

Reputation: 1227

Where can I find the Generated Servlet from JSP from tomcat:run?

Before, I'm using the server in eclipse to deploy/run my webapp and I can easily find the generated servlets in ...metadata/.plugins/org.eclipse.wst.server.core/.... Now that I moved to m2e and use tomcat:run to deploy and run my webapp, i'm wondering where can I find the generated servlets?

Upvotes: 1

Views: 4864

Answers (4)

kamal
kamal

Reputation: 21

Project_Location_from_eclipse.metadata.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\OurProject Name\org\apache\jsp

Upvotes: 0

Vivek N
Vivek N

Reputation: 304

The generated java servlets of corresponding jsp files should be found in following path of tomcat directory, Following taken from Cent OS machine

    {TOMCAT_HOME}/work/Catalina/localhost/manager/org/apache/jsp/WEB_002dINF/jsp

Upvotes: 0

Shamim Ahmmed
Shamim Ahmmed

Reputation: 8383

The generated java classes of the corresponding jsp files should be available in the following path of your tomcat directory. The following example is taken from a Linux machine.

{TOMCAT_HOME}/work/Catalina/localhost/{app_name}/org/apache/jsp/

Upvotes: 5

jchips12
jchips12

Reputation: 1227

For future reference target\tomcat\work\localEngine\localhost\<name related to webapp>\org\apache\jsp is the location of the generated servlets.

Upvotes: 0

Related Questions