2

My customer told what is path of

'tomcat/work/Catalina/localhost/_/org/apache/jsp' 

but i don`t know well what is it. I saw these folder fist time. and maybe the path is created just in operation environment that in my environment of development, these path isn't created. what is that path and is that must necessity on tomcat?

Kyungjoon Lee
  • 59
  • 1
  • 6

1 Answers1

2

work directory is where your compiled JSPs and other static resources will go.

if you have Deployed archive file as ROOT.war folder with name _ will be created in tomcat/work/Catalina/localhost/ otherwise the folder name will be same as that of your web archieve file.

Note: It is advised to clear work directory before every deployment.

Clarifications on Tomcat's "temp" and "work" directories

https://tomcat.apache.org/tomcat-7.0-doc/config/host.html

Community
  • 1
  • 1
Govinda Sakhare
  • 5,009
  • 6
  • 33
  • 74
  • i just had .java sources without jsp source in my project. i don't know why this path be created and i didn't use jsp never. so these path is must have a necessary in my project? – Kyungjoon Lee Apr 03 '17 at 07:04
  • Even if you don't have `JSP` files, these folders will be created implicitly. Please post the directory structure and what exactly you want to do so that I can help you out – Govinda Sakhare Apr 03 '17 at 09:07
  • i didn't know these folder will be create implicitly. thanks for your help – Kyungjoon Lee Apr 04 '17 at 00:32