This content has been marked as final.
Show 3 replies
-
1. Re: Undertow static content encoding
zhurlik Sep 26, 2019 2:22 AM (in response to nauplius79)Hi,
Maybe you can try to do it via a filter Chapter 17. Configuring the Web Server (Undertow) Red Hat JBoss Enterprise Application Platform 7.0 | Red Hat Customer P…
Thanks,
Vlad
-
2. Re: Undertow static content encoding
nauplius79 Oct 7, 2019 7:20 AM (in response to zhurlik)Thanks Vladimir,
filters in standalone.xml undertow subsystem, while cumbersome, seem to work, but only for serving static content from a flat disk folder. They do not work in my case where I serve static content bundled within deployed war file.
Any idea how to tackle that?
-
3. Re: Undertow static content encoding
zhurlik Oct 7, 2019 1:00 PM (in response to nauplius79)Hi,
When we are speaking about web apps, I guess you need to have something like this
spring-framework/CharacterEncodingFilter.java at master · spring-projects/spring-framework · GitHub
Thanks,
Vlad