i need to create a folder out of webapp in tomcat to store images i upload from my Java EE web application and still the folder be accessible from the application. I tried to add context to my server.xml :
<Context path="/images" docBase="C:/test/images/" />
but i get 404 not found error when i try http://localhost:8080/images
.
and i don't know what i'm doing wrong.
please can somebody provide a step by step guide on how to do that, i'm sure it would help me and many others thank you.