We help IT Professionals succeed at work.

How to do for use a new direcatory wiht Apache TOMCAT 4.0

zoltix
zoltix asked
on
Medium Priority
543 Views
Last Modified: 2010-03-04
I create a new directory with some jsp files and index.html.  But i can't arrive configure this path in the web server. how can i?  


I look for a good documentation for this server could you help me.


Thank
Comment
Watch Question

Commented:
hi
what u could do is add your dir which is in tomcat to its Context by modifying server.xml file .This can be done in following manner

1> Open server.xml
2> There you find entry for Tomcat Examples Context
3> Use that as help for your Context.

it should work

Regards
Sumeet


 

Commented:

My example is in Windows 2000 environment (should be ok in Unix too.)



    Alias /mrtg/ "C:/WorkData/Mrtg/Stats/"
    <Directory "C:/WorkData/Mrtg/Stats">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
Commented:
zoltix?  Does it solve your problem?