Hi, chenghong
chenghong> my content type that i set in my jsp page seems
chenghong> doens;t work.
Suppose, your application is as following,
browser-servlet->JSP->browser
and if your servlet gets writer before forward to JSP,
then <%@ page contentType...%> in JSP will be ignored.
Or, you should write
<%@ page contentType="text/html;charset = CHAR_SET" %>
<meta http-equiv="Content-Type" Content="text/html;charset=CHAR_SET" />
in JSP. note that CHAR_SET must be same.
Regards,
Watanabe
In the message "contentType doens't work"
<[EMAIL PROTECTED]>
chenghong <[EMAIL PROTECTED]> wrote:
chenghong> hi all,
chenghong> have a problem here. my content type that i set in my jsp page seems
chenghong> doens;t work. i actually have a servlet integrate with my jsp. do i need to
chenghong> set my content type in servlet or jsp ? or both ?
chenghong> thanks
chenghong> cheng hong.
chenghong> ---
chenghong> Outgoing mail is certified Virus Free.
chenghong> Checked by AVG anti-virus system (http://www.grisoft.com).
chenghong> Version: 6.0.274 / Virus Database: 144 - Release Date: 8/23/2001
chenghong> ___________________________________________________________________________
chenghong> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
chenghong> of the message "signoff SERVLET-INTEREST".
chenghong> Archives: http://archives.java.sun.com/archives/servlet-interest.html
chenghong> Resources: http://java.sun.com/products/servlet/external-resources.html
chenghong> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html