Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.4
-
None
-
jdk1.5,Debian/Linux,groovy1.5.4
-
Patch
Description
a test gsp file is (chinese encoding):
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>测试页</title>
</head>
<body>
<%
print "groopvy 测试页"
%>
</body>
</html>
After browser the groovy.servlet.TemplateServlet source code,I find that the service method only set the ContentType to "text/html" .There no information about encoding.
So I add the encoding support for it,you can see the attachment(diff format),and you can configure it throgh the web.xml
Attachments
Attachments
Issue Links
- is duplicated by
-
GROOVY-1276 GroovyServlet lacks possibility to specify encoding
- Closed