Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mapping of Webapps

 
Sree Kumari
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we map another directory to webapps in Jakarta Tomcat which is outside the CATALINA_HOME.without using any IDE's
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure about the webapps directory itself, but the directories of individual web apps can be mapped by keeping a context file for that web app in TOMCAT_HOME/conf/Catalina/localhost that has a docBase attribute that points to that directory.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic