26
votes

when I run my dynamic web project from eclipse it gets deployed to wtpwebapps. However I want to deploy a war file to tomcat so when I checked here in SO this came up How to deploy a war file in Tomcat 7

It says I have to deploy to webapps folder in tomcat.

Can anybody please explain me the details between wtpwebapps folder and webapps folder in tomcat and also if I can deploy war files to wtwebpapps folder instead of webapps folder.

1

1 Answers

41
votes

wtpwebapps is an eclipse-specific folder created when you run a dynamic web project on Tomcat within eclipse.

Webapps directory is within the Tomcat home and it's where you copy over your WAR files manually.