Showing
1 changed file
with
12 additions
and
0 deletions
1 | +package org.legrog.configuration; | ||
2 | + | ||
3 | +import org.omnifaces.filter.CharacterEncodingFilter; | ||
4 | + | ||
5 | +import javax.servlet.annotation.WebFilter; | ||
6 | + | ||
7 | +/** | ||
8 | + * ensure every request parameters (and so the content of forms in POST request) are done in utf-8 | ||
9 | + */ | ||
10 | +@WebFilter("/*") | ||
11 | +public class Utf8CharacterEncodingFilter extends CharacterEncodingFilter { | ||
12 | +} |
-
Please register or login to post a comment