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


i converted xml-based configuration pure annotation (using mixture of javax.servlet.annotation , springframework classes). 1 thing haven’t figured out how configure 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!


Comments