Image problem on tomcat

Image problem on tomcat

am 28.06.2007 17:22:02 von Zilberstein Yuval

Hello all,
I have an image problem on the Tomcat server.
I have a picture with a special Korean format: cwsis. It is just like
any other jpg or gif image, but with a format that is not popular.
The image itself is on the tomcat server.
I am trying to display the image on a special mobile browser, by
requesting it from a jsp on the tomcat server,
But the browser can not display it.
When I am trying to display it from another apache server it works ok.
The code is as follows:

scope=3D"session"/>






Any ideas?
TIA Yuval

TX
YuvalZ

Re: Image problem on tomcat

am 28.06.2007 17:36:06 von Roland Weber

Please send Tomcat questions to a Tomcat mailing list:
http://tomcat.apache.org/lists.html

best regards,
Roland

Re: Image problem on tomcat

am 28.06.2007 17:52:42 von Danny Angus

---------z31501_boundary_sign
Content-Type: text/plain; charset="US-ASCII"

This is not the right place to get help, try the tomcat users list.
http://tomcat.apache.org/lists.html

P.S. you probably need to add the extension and the mime type to a
configuration file.

d.


"Zilberstein Yuval" wrote on 28/06/2007
16:22:02:

> Hello all,
> I have an image problem on the Tomcat server.
> I have a picture with a special Korean format: cwsis. It is just like
> any other jpg or gif image, but with a format that is not popular.
> The image itself is on the tomcat server.
> I am trying to display the image on a special mobile browser, by
> requesting it from a jsp on the tomcat server,
> But the browser can not display it.
> When I am trying to display it from another apache server it works ok.
> The code is as follows:
>
> > scope="session"/>
>


>

>
>
>
> Any ideas?
> TIA Yuval
>
> TX
> YuvalZ
>
> ------------------------------------------------------------ ---------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org
>


---------z31501_boundary_sign
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIIWAQIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcN AQcBoIITmjCCAy0w
ggKWoAMCAQICAQAwDQYJKoZIhvcNAQEEBQAwgdExCzAJBgNVBAYTAlpBMRUw Ew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f
1JbFZ4SCIzw3NQ9Xvejr4KvBc8zpQCyGKxAwH6KksF6PS5gYvPzwd6yNUbka SSvHvZU89BdfjHXO
Nvp1ssMuBBHZAAAAAA==

---------z31501_boundary_sign--

Re: Image problem on tomcat

am 28.06.2007 18:12:22 von Will Glass-Husain

------=_Part_63668_27991765.1183047142628
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

You probably need to specify the MIME type in web.xml. See the servlet spec
for more details.


htm
text/html



The browser determines how to display the image based on the MIME type.
I'm not sure what the correct MIME type should be though.

best,
WILL

On 6/28/07, Danny Angus wrote:
> This is not the right place to get help, try the tomcat users list.
> http://tomcat.apache.org/lists.html
>
> P.S. you probably need to add the extension and the mime type to a
> configuration file.
>
> d.
>
>
> "Zilberstein Yuval" wrote on 28/06/2007
> 16:22:02:
>
> > Hello all,
> > I have an image problem on the Tomcat server.
> > I have a picture with a special Korean format: cwsis. It is just like
> > any other jpg or gif image, but with a format that is not popular.
> > The image itself is on the tomcat server.
> > I am trying to display the image on a special mobile browser, by
> > requesting it from a jsp on the tomcat server,
> > But the browser can not display it.
> > When I am trying to display it from another apache server it works ok.
> > The code is as follows:
> >
> > > > scope="session"/>
> >


> >

> >
> >
> >
> > Any ideas?
> > TIA Yuval
> >
> > TX
> > YuvalZ
> >
> > ------------------------------------------------------------ ---------
> > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: general-help@jakarta.apache.org
> >
>
>
>



--
Forio Business Simulations

Will Glass-Husain
wglass@forio.com
www.forio.com

------=_Part_63668_27991765.1183047142628--