This is nasty indeed! According to http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/7-b147/sun/net/www/MimeTable.java#MimeTable the mime types are loaded from mailcap files. See "man update-mime"
On Tue, Jul 30, 2013 at 7:40 PM, Chris Snyder <[email protected]>wrote: > However, just above that (line 122) it gets the contentType from the > URLConnection, which returns "application/xml". Since > streamData.contentType is not null, it never gets to line 126. > > Thanks so much for your help! > > -Chris > -- > Chris Snyder > Web Developer, BioLogos > 616.328.5208 x203 > biologos.org > > On Jul 30, 2013, at 13:30, Martin Grigorov <[email protected]> wrote: > > > Hi, > > > > According to > > > https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/core/util/resource/UrlResourceStream.java?source=cc#L126 > > if > > theere is an application then it should be used before falling back. > >
