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

前端 未结 5 1291
北恋
北恋 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:33

    if you're running windows, use the junction utility from MS : http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx and map your share directory to the Webcontent folder. I've regularly done several of these mappings quite regularly.

提交回复
热议问题