Eclipse & Tomcat: How to specify which folder is served from the project?

前端 未结 5 1379
北恋
北恋 2021-01-05 06:48

I\'m using Eclipse 3.4 and Tomcat 5.5 and I have a Dynamic Web Project set up. I can access it from http://127.0.0.1:8080/project/ but by default it serves files from WebCon

5条回答
  •  南方客
    南方客 (楼主)
    2021-01-05 07:21

    you can specify location of webcontent in R-click on project > Properties > Deployment Assembly

    This is what I did in mys STS, you can add or remove a location.

提交回复
热议问题