• Post Reply Bookmark Topic Watch Topic
  • New Topic

How can I change development directory in Tomcat?

 
Tum
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By default, If I put hello.jsp in
c:\tomcat\webapps\root
I can type url in
http://localhost/hello.jsp
If I want move development directory to c:\jsp and put all jsp file in this directory. How can I change it in Tomcat?
Thanks.
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You shoud make a change to 'conf/server.xml', where you should change the path in these lines and delete '<!--' and '-->':

Rene
[ July 28, 2002: Message edited by: Rene Larsen ]
 
Tum
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks,
I'm read in Tomcat website that
1. For classes specific to particular web application, place in /Web-inf/classes of your web application
2. For class that share all web application put in $CATALINA_HOME/shared/classes
I'm doubt that Can I set many web application directory in the same time(case 2)? and when I type url in browser. Which directory it find jsp file?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!