I recently converted my XML-based configuration to pure annotation (using a mixture of the javax.servlet.annotation and Springframework classes). One thing I did not understand how to set it up:
<jsp-config> <jsp-property-group> <url-pattern>*.jsp</url-pattern> <page-encoding>UTF-8</page-encoding> </jsp-property-group> </jsp-config>
Any ideas? Thank!
I ran into the same problem.
<%@ page contentType="text/html; charset=utf-8"%>
in every JSP fixes the problem.
Still looking for a better way to handle this.
Source: https://habr.com/ru/post/1530911/More articles:Task.Factory.StartNew with parameters and return values - c #Jade equivalent for csrf token in Sails - csrfGo Initialization operator, variables with scope - confused: - variablesIntellij excludes file from compilation - intellij-ideaGet IndexPath object of Core Data object in UITableView - iosWhy is "django.core.context_processors.request" not enabled by default? - pythonHow to create a 2x2 bar chart - next to a paired bar in R - rWhy segfault instead of privilege instruction error? - performanceReset Sleep Time - c ++Ошибка поврежденной памяти Kinect SDK - c#All Articles