This is a discussion on Tomcat Development Directory within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, this is a tomcat 5.5 configuration question. What I want is to have a directory outside the nornal ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi, this is a tomcat 5.5 configuration question.
What I want is to have a directory outside the nornal structure used as a project. This would be where I compile my classes and I want Tomcat to see them. I looked at the server.xml file but am not sure what to do with it. I googled on this topic, but the only answers seem to point to a book. I looked at the book in the bookstore, but it didn't really have any more information. Any help you could provide would be appreciated. Thanks, Steve |
|
|||
|
Steven Green wrote:
> Hi, this is a tomcat 5.5 configuration question. > > What I want is to have a directory outside the nornal structure used as a > project. > This would be where I compile my classes and I want Tomcat to see them. > > I looked at the server.xml file but am not sure what to do with it. > I googled on this topic, but the only answers seem to point to a book. > I looked at the book in the bookstore, but it didn't really have any more > information. > > Any help you could provide would be appreciated. > Thanks, > Steve > > Hi Steve I have asked general questions in this newsgroup about tomcat with no reply. I can tell you what I have experienced relative to your question. I use Eclipse to build some test apps which are deployed to tomcat from Eclipse. Eclipse maintains the code in my Eclipse workspaces and has tomcat run the app from those directories. This is what I see. The only thing I see that is done is to create an application xml file under Tomcat's '\conf\Catalina\localhost' subdirectory. This xml file 'AppName.xml' looks like this... <Context path="/AppName" reloadable="true" docBase="C:\Documents and Settings\Ed Taylor\workspace\AppName" workDir="C:\Documents and Settings\Ed Taylor\workspace\AppName\work" > </Context> Not sure if this helps but at least you have something to search for based on this xml file. -- Thanks in Advance... IchBin, Pocono Lake, Pa, USA __________________________________________________ ________________________ ' If there is one, Knowledge is the "Fountain of Youth"' -William E. Taylor, Regular Guy (1952-) |
| Thread Tools | |
| Display Modes | |
|
|