Resource.onResourceRequested() does already set the content type with
resourceStream.getContentType() but UrlResourceStream obviously
behaves differently on url like file:/D:/.../pub/Beer.gif compared to
jar:file:/D:/.../wicket-examples.war!/WEB-INF/.../pub/Beer.gif.
Whereas the first returns a content type of image/gif the latter
returns image/jpeg.

Juergen


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to