简体   繁体   English

Tomcat Web应用程序中的根目录在哪里?

[英]Where is root directory in Tomcat web application?

I have a web application using Tomcat whose index.jsp needs to read some data from a textfile. 我有一个使用Tomcat的Web应用程序,其index.jsp需要从文本文件读取一些数据。 However, I'm not quite sure as to where the root directory is. 但是,我不确定根目录在哪里。

Can anybody give me any insight, material, and/or solutions as to where this directory is and how it is decided that it must be there. 关于此目录的位置以及如何确定该目录必须存在,任何人都可以给我任何见解,材料和/或解决方案。

CATALINA_HOME is Tomcat directory. CATALINA_HOME是Tomcat目录。 Look at folder %CATALINA_HOME%\\work\\Catalina\\localhost\\web_application_name\\ or %CATALINA_HOME%\\webapps\\ROOT 查看文件夹%CATALINA_HOME%\\work\\Catalina\\localhost\\web_application_name\\%CATALINA_HOME%\\webapps\\ROOT

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM