Article:
  Deploying Web Applications to Tomcat
Subject:   Adding web application under separate filesystem ...
Date:   2002-08-26 10:56:58
From:   slimd
Response to: Adding web application under separate filesystem ...

You can use the '/examples' context as an example.


<Context path="/yourAppsHTMLReference" docBase="dirYourAppIsIn" debug="0">


Copy your application into a new directory under webapps. Use the examples directory structure as a sample if you have classes to deploy (may put them under dirYourAppIsIn/WEB-INF/classes).


restart Tomcat and go to http://serverName/yourAppsHTMLReference/pageName to see your app.

Full Threads Newest First

Showing messages 1 through 1 of 1.

  • Adding web application under separate filesystem ...
    2003-10-08 23:00:30  anonymous2 [View]

    u need to create an xml file say 'mwApp.xml' and put it under ur .../webapps dir.
    this xml file will have only the following context path:
    <Context path="/yourAppsHTMLReference" docBase="dirYourAppIsIn" debug="0">

    Also u need to point ur CATALINA_BASE to ur new webapps dir

    Thanks
    Satish
    Component Plus