From: Helder R. <ro...@ne...> - 2004-07-25 12:31:41
|
hi, I'm using jetty-4.2.20. I'll give it a try with a recent version of jetty. On Sun, 2004-07-25 at 03:13, Jan Bartel wrote: > My previous reply did not seem to make it onto the mail list, so here is > an abbreviated version, sorry if this is a repost: > > Helder, > > I've tried your mime mapping in both Jetty4.2.21 and Jetty5.RC2 and it > works fine. Are you sure your mapping is "xsl" not "XSL"? > > Try putting this mime mapping into the etc/demo.xml file and copying a > few of your stylesheets into demo/docroot and see what live headers you get. > > cheers, > Jan > > Helder Rossa wrote: > > hi, > > > > i'm trying to call XSL served by the jetty server. But mozilla has no > > mimetype defined for XSL files... jetty doesn't send the contenttype > > header :-S > > > > I did this in the xml starting jetty: > > <Call name="addContext"> > > <Arg>/docs/*</Arg> > > <Set name="ResourceBase"><SystemProperty name="jetty.home" > > default="."/>/htdocs/</Set> > > <Call name="addHandler"> > > <Arg><New class="org.mortbay.http.handler.ResourceHandler"/></Arg> > > </Call> > > <Call name="setMimeMapping"> > > <Arg>xsl</Arg> > > <Arg>text/xml</Arg> > > </Call> > > </Call> > > > > but jetty still dont send the mimetype to mozilla... :-S > > > > I've installed this plugin http://livehttpheaders.mozdev.org/ in mozilla > > and dont see the header 'content-type' when calling the XSL file. > > > > > > thanx > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > _______________________________________________ > > Jetty-support mailing list > > Jet...@li... > > https://lists.sourceforge.net/lists/listinfo/jetty-support > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Jetty-support mailing list > Jet...@li... > https://lists.sourceforge.net/lists/listinfo/jetty-support |