struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Stenerud <k...@webartjapan.com>
Subject Setting content-type
Date Wed, 19 Mar 2003 08:16:16 GMT
I'm trying to make sure the content type of documents served by the struts 
framework are set to Shift_JIS.

Is this a setting in struts or should it be set in the servlet container 
(Tomcat)?

Currently, I'm getting the following response from http requests:

HTTP/1.1 200 OK
Set-Cookie: JSESSIONID=BB8C80087656F88DB02227A4572331A3; Path=/tokoname
Content-Type: text/html;charset=ISO-8859-1
Content-Length: 2046
Date: Wed, 19 Mar 2003 08:00:18 GMT
Server: Apache Coyote/1.0
Connection: close


I need to get:

HTTP/1.1 200 OK
Set-Cookie: JSESSIONID=BB8C80087656F88DB02227A4572331A3; Path=/tokoname
Content-Type: text/html;charset=Shift_JIS
Content-Length: 2046
Date: Wed, 19 Mar 2003 08:00:18 GMT
Server: Apache Coyote/1.0
Connection: close


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message