Re: Using server Web.xml Mime Types Data

2016-09-08 Thread Mark Thomas
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

Re: Using server Web.xml Mime Types Data

2016-09-08 Thread George Sexton
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.

Re: Using server Web.xml Mime Types Data

2016-09-07 Thread Mark Thomas
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) ?

RE: Using server Web.xml Mime Types Data

2016-09-07 Thread Jeffrey Janner
> -Original Message- > From: George Sexton [mailto:geor...@mhsoftware.com] > Sent: Tuesday, September 06, 2016 6:59 PM > To: Tomcat Users List <users@tomcat.apache.org> > Subject: Using server Web.xml Mime Types Data > > Is there any easy way that I can use the mime types i

Using server Web.xml Mime Types Data

2016-09-06 Thread George Sexton
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. -- George Sexton *MH Software, Inc.* Voice: 303 438 9585 http://www.connectdaily.com