سؤال

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?

هل كانت مفيدة؟

المحلول 2

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

نصائح أخرى

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/

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

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top