Am Donnerstag, 23. Mai 2002 19:26 schrieben Sie: > your browser needs to be mime-typed AND your tomcat application needs to be > mime-typed > > you can set tomcat's mime-types in your web.xml file. search google for > tomcat web.xml mime types > > As far as your browser -- many browsers are not preconfigured to view png > images alone -- this happens to me all the time. If the image appears in > context, the browser will "guess" that it is a PNG image and display it, > but coming over the wire with no page, many browsers don't know what to do > with it. > > Some browsers allow you to tell them what to do with specific mime-types > (i'm thinking IE 5 on the mac specifically) -- if your browser does, try > it. otherwise you might be out of luck on the browser front (but DO fix the > web.xml first and see if that helps).
thanks for your help! I fixed the mime-type in web.xml, but the problem stays on the client-side :-( looks like there is no general solution for this problem ... regards michael > fillup > > On 5/23/02 5:24 AM, "Michael Reutter" <[EMAIL PROTECTED]> wrote: > > Hi! > > > > I'm using tomcat 3.3.1! > > > > I have 2 pictures: > > pic1.gif > > pic1.png > > > > When I use these pics in html (e.g.: <img src="pic1.png">) both pics are > > displayed correctly! > > BUT when I access the pics' URL directly, I see the gif correct, but > > instead of the png-image, I see the png's raw data displayed in my > > browser (I tried with MSIE, NS4, NS6, Opera, Konqueror)! > > > > what is happening??? > > > > thanks > > michi > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> For additional > > commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> For additional > commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
