On Linux, I can simply place an images folder in webapps/my-app/images and then access this images folder by going to http://localhost:8080/my-app/images
But on Windows server, if I place the images folder in the same location in the Tomcat directory, and then when I go to the same URL, I get a a 404 error.
Are there any special permissions that I have to give the folder in Windows?
Check your web.xml file in %CATALINA_HOME%\conf\
(that is, the web.xml for your tomcat installation and not an individual web application)
the following init params for the Default Servlet enable directory listings. These should work the same in windows and linux (maybe your linux install is different for some reason. I think true used to be the default and now false is the default)
She's out of the country right now, toppling an unauthorized dictatorship. Please leave a message with this tiny ad: