开发者

Grails 1.3.7 clean project cannot serve utf8 files

I create a clean grails application and run grails dev war and deploy under Tomcat 6.0.32. When I attempt to download this file via localhost:8080/utf8.html, I get a response with busted encoding and characters.

When I create a ROOT/ directory in web-app/ and serve th开发者_开发百科e same file, the response is fine.

What's going on here?


Write a controller to serve files properly. With no other solutions, this is all you have.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜