当前位置: 动力学知识库 > 问答 > 编程问答 >

java - How to set JSP page encoding using Servlet 3.0 annotation configuration (or Spring)?

问题描述:

I recently converted my XML-based configuration to pure annotation (using a mixture of javax.servlet.annotation and Springframework classes). One thing I havent figured out how to configure is this:

<jsp-config>

<jsp-property-group>

<url-pattern>*.jsp</url-pattern>

<page-encoding>UTF-8</page-encoding>

</jsp-property-group>

</jsp-config>

Any ideas? Thanks!

分享给朋友:
您可能感兴趣的文章:
随机阅读: