开发者

Where are the files located on the tomcat server?

I have a very noob question :) I have a file in [myip]/folder1/folder2/file.js, that I can access and read using a browser.

Where can I find this f开发者_开发百科ile on my computer? I need to edit it...

Searching for the file on my computer yields no results :(

Thanks


You should not be editing the files that you have deployed to your local tomcat server. Instead you should edit the files in you development environment then redeploy your web application.

You should have a CATALINA_HOME environment variable set to the install location of tomcat. Deployed web applications are under the webapps directory. So your file would be in $CATALINA_HOME\webapps\myip\folder1\folder2\file.js, but don't edit it there.


It's located in the ROOT of your Tomcat server, in folder1/folder2.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜