> On Mar 26, 2008, at 9:26 AM, Patrick Heiden wrote:
> >> On Mar 26, 2008, at 7:28 AM, Luca Morandini wrote:
> >>> Magnus Haraldsen Amundsen wrote:
> >>>> <map:match pattern="**/images/*.gif">
> >>>> <map:read src="resources/images/{1}.gif" mime-type="image/gif"/>
> >>>> </map:match>
> >>>> I’ve tried it, but hasn’t had any success in getting it working
> >> yet.
> >>>
> >>> It should be {2} (not {1}) since you want to match the name of the
> >>> GIF image and not its path.
> >>
> >> And downside is polluted cache and proxies.
> >>
> >> It's much better to just parameterize XSLT with absolute context  
> >> path,
> >> or with relative path to the context root. Better yet is to move
> >> static resources out to httpd server.
> >>
> >
> > Well, that is right, but what should one do inside development- 
> > environment where there is no such httpd?
> 
> The trick is to configure jetty to behave like apache server and serve  
> your static resources :)
> This way I have both static resources and application itself running  
> under jetty but it works exactly same as production configuration with  
> apache and jetty or tomcat.

Any hints on how to do this actually? Would be very interesting and usefull for 
jetty-newbie like me ;)

> 
> Vadim
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to