So the jar: is right and the file isn't?
So the jar seems to look at the first bytes but the file just to the extention?
I will debug this to test what the difference is in the underlying implementation.


johan


Juergen Donnerstag wrote:
The first bytes are: FF D8 FF E0 00 10 4A 46  which according to
eelco's link is NOT gif. Jonathan is right: it is JPEG which starts
with 0xff 0xd8 according to
http://www.geocities.com/marcoschmidt.geo/jpeg-image-file-format.html

Juergen

On 4/18/05, Jonathan Locke <[EMAIL PROTECTED]> wrote:
  
maybe it has something to do with the loader having a different
implementation...

i'm still kindof curious about what the format of the file is...

Juergen Donnerstag wrote:

    
may be, but it doesn't explain why image/gif is returned if a
file:.../Beer.gif and image/jpeg if jar:file:...*.war!.../Beer.gif.  I
assume the file (content) is the same in both cases. It does not work
witj jars.

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Ìk
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop



      
-------------------------------------------------------
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_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

    


-------------------------------------------------------
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