Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does Eclipse deploy Web Application using Tomcat

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??

like image 802
whitehat Avatar asked Feb 28 '12 13:02

whitehat


1 Answers

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

like image 62
Funky coder Avatar answered Oct 09 '22 03:10

Funky coder