Hello! Such a question, there is a website written in HTML, the Restful web service is written to it, I use WildFly 11 web server, and the problem is that when displaying pages, instead of Russian texts, incomprehensible characters are displayed. I specify the links to the pages via web.xml like this:
<servlet> <servlet-name>account</servlet-name> <jsp-file>/resources/pages/mainFrame.html</jsp-file> </servlet> <servlet-mapping> <servlet-name>account</servlet-name> <url-pattern>/account</url-pattern> </servlet-mapping> On HTML pages it is also indicated like this:
<head> <meta http-equiv="Content-Type" content="text/html" charset="UTF- 8"/> <!--<link rel="stylesheet" href="resources/css/index.css" type="text/css">--> <link rel="stylesheet" href="/SnackLanguage/resources/css/index.css" type="text/css"/> <title>Snack Language</title> </head> Here's what's in the server settings in the admin panel: 
But the fact that in the settings of servlets: 
And here is what I get in the browser: 
Who can help fix these cracks?
<jsp-file>tag. The container undertow itself gives html-files, without mapping. - Sergey Gornostaev