另外:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
这是转换出来的HTML的一个标签,是resin默认的,但不支持中文显示,全是乱码,我如何设置Resin或改变我的XSL和jsp才能使charset=gb2312。例如:JSP(XML):
<%@ page session=false contentType='x-application/xsl' %>
<?xml-stylesheet href='xml.xsl'?>
<top>
  <title>Hello, world</title>
  <count><%= 1 + 1 %></count>
</top>XSL:
<xsl:stylesheet>
<xsl:output media-type='text/html'/><xsl:template match='top'>
<html>
<head>
<title><xsl:value-of select='title'/></title>
</head>
<body bgcolor='white'>
<h3><xsl:value-of select='title'/></h3>
<xsl:apply-templates/>
</body>
</html>
</xsl:template><xsl:template match='count'>
Count: <xsl:apply-templates/><br/>
</xsl:template><xsl:template match='title'/></xsl:stylesheet>