Re: Tomcat won't honor requests for .xml files?

2001-03-14 Thread Alex Fernández
Hi Robert. I guess you're talking about a static xml file. In this case, you should add the mime-type to your web.xml. I don't have an example ready, but you can follow the web.dtd in http://java.sun.com/j2ee/dtds/web-app_2_2.dtd Un saludo, Alex. Robert Nicholson wrote: > > Am I missing som

Re: Tomcat won't honor requests for .xml files?

2001-03-14 Thread skolski
Hello, in the servers.xml file, located in /conf directory, you should declare your projekt's path. e.g. Context path="/projekt" docBase="webapps/projekt" debug="0" reloadable="true"/> With the webapps directory located in the tomcat directory. On the other hand you have to look at the web.mx

Tomcat won't honor requests for .xml files?

2001-03-14 Thread Robert Nicholson
Am I missing something? Should Tomcat normally be able to honor requests for file with a .xml extension? Current it's returning file not founds to the browser. status 404's The URL I'm giving it is perfectly valid. Something .xml files is confusing tomcat. --