10

How does Eclipse work internally with Apache (or Tomcat). Beacause it doesn't deploy our Web Application inside "webapps" directory of Tomcat. So how does it do it??

1
  • wanted to know as well.. Commented Feb 28, 2012 at 13:33

2 Answers 2

16

By default Eclipse deploys *.war files inside a internal webapps folder called wtpwebapps which is located in the following directory:

{Workspace_location}/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps

This behaviour however is customizable using Server Locations option defined in server options panel accesible by double clicking the desired server from Servers view in Eclipse:

Tomcat configuration panel in Eclipse

Sign up to request clarification or add additional context in comments.

Comments

1

enter image description here

You can also select the second option. Then eclipse will deploy your app under the default "wtpwebapps" folder under tomcat directory.

Click here for more details on how to enable this setting

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.