Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 9th, 2005, 11:15 AM
Registered User
 
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default use tomcat outside of webapps directory

Hi. I would like to use a webapp with Tomcat 5 outside of the webapps directory. For example, my current structure is:
Tomcat
      webapps
             myapp


Is there a way to liberate myapp from the webapps subdirectory and have it at the root? The structure would then be something like:

MyDirectory
     myapp

Thanks very much for any help.


Ritz

 
Old December 10th, 2005, 10:22 PM
Registered User
 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Look for the docBase option in your server.xml. That allows you to change where your site's documents are located.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can't TOMCAT see WROX directory? I5commuter JSP Basics 0 May 29th, 2008 08:25 AM
application outside webapps rumeen Apache Tomcat 2 January 15th, 2007 08:56 AM
Tomcat - Restrict Directory access pradheepayyanar BOOK: Professional Apache Tomcat 0 October 27th, 2006 06:03 AM
apache tomcat dev directory conf schradermj11 Apache Tomcat 0 November 21st, 2005 10:54 PM
Creating a directory UNDER webapps stephanj BOOK: Professional Apache Tomcat 1 January 7th, 2004 08:14 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.