I want users to access /shared
folder on my server through a web-app, hosted on Tomcat in the same server.
Following solutions i have tried, but none of them worked.
Putting context entry in the server.xml
<Context path="/shared" docBase="/shared/" reloadable="true" crossContext="true"/>
Putting the same context information in
/conf/context.xml
inside Tomcat.Putting the same context information in
/META-INF/context.xml
under my webapp.
But when i try to access it using http://{myserverip:portnumber}/shared
, it returns with a 404 Error
.
Tomcat Version : 7 Server OS: Ubuntu 12.04
Any Suggestions?