That is what I found (Google). I know I'vw written something about in our Wiki (where I do not get access to right now). Unfortunately I don't remember the details. Might be that it is servlet spec 2.4 only
web.xml <mime-mapping> <extension>wml</extension> <mime-type>text/vnd.wap.wml</mime-type> </mime-mapping> Juergen On 8/4/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > Does anybody know if you can access or ask something of the > webcontainer/context to give me the right content type for a specific > extentions > that is specified in the web.xml? > > Because .css and .js are in the web.xml. So for every content/unknown > that i get i want to query something to get the right content type > But i have no idea how to access that info of the web.xml file. > > > > SourceForge.net wrote: > > Bugs item #1251710, was opened at 2005-08-04 09:19 > > Message generated for change (Tracker Item Submitted) made by Item Submitter > > You can respond by visiting: > > https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1251710&group_id=119783 > > > > Please note that this message will contain a full copy of the comment > > thread, > > including the initial issue submission, for this request, > > not just the latest update. > > Category: core > > Group: 1.1 > > Status: Open > > Resolution: None > > Priority: 5 > > Submitted By: Herkule9s (herkule9s) > > Assigned to: Nobody/Anonymous (nobody) > > Summary: Conent type of static resources is content/unknown > > > > Initial Comment: > > The content type of *.css should be test/css, but it > > seems that the problem applies to all static content (*.js > > for example). > > Steps to reproduce: run forminput example and look into > > Firefox Javascript console. When the browser is in > > stnards compliant mode, it will refuse to use the CSS > > file, in quirks mode it issues only warning. > > It seems that UrlResourceStream is always initalized to > > contentType="content/unknown", at least for *.js and > > *.css resources. > > > > ---------------------------------------------------------------------- > > > > You can respond by visiting: > > https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1251710&group_id=119783 > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Wicket-develop mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Wicket-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-develop > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
