• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How can I change development directory in Tomcat?

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
reply
    Bookmark Topic Watch Topic
  • New Topic