On 8 September 2016 17:06:13 BST, George Sexton wrote:
>
>
>On 9/7/2016 11:44 AM, Mark Thomas wrote:
>> On 07/09/2016 00:58, George Sexton wrote:
>>> Is there any easy way that I can use the mime types in the Tomcat
>server
>>> level web.xml file?
>>>
>>> I know I can parse the XML myself, I was j
On 9/7/2016 11:44 AM, Mark Thomas wrote:
On 07/09/2016 00:58, George Sexton wrote:
Is there any easy way that I can use the mime types in the Tomcat server
level web.xml file?
I know I can parse the XML myself, I was just wondering if there's a way
to get the data already defined.
ServletCon
On 07/09/2016 00:58, George Sexton wrote:
> Is there any easy way that I can use the mime types in the Tomcat server
> level web.xml file?
>
> I know I can parse the XML myself, I was just wondering if there's a way
> to get the data already defined.
ServletContext.getMimeType(String filename) ?
George,
As I recall, anything in the server's web.xml is merged with the application's
web.xml unless overridden by the applications own settings, i.e. if not defined
in the app web.xml file.
Was there something specific you were asking that didn't come across in your
question?
Jeff
> -Orig