mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-10 22:30:56 +00:00
remove explicit setting of encoding on servlet responses
This commit is contained in:
1 parent
859b44f57b
commit
25890c48c4
2 files changed
-2
No files matched your search
@@ -123,7 +123,6 @@ public class AdminApp extends Servlet {
|
||||
@Override
|
||||
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
|
||||
try {
|
||||
resp.setCharacterEncoding("UTF-8");
|
||||
String action = req.getParameter(PARAM_ACTION);
|
||||
if (action != null) {
|
||||
if (ACTION_NAME_ADD_EVENT.equals(action)) {
|
||||
|
||||
@@ -62,7 +62,6 @@ public class ModeratorApp extends Servlet {
|
||||
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
|
||||
try {
|
||||
String action = req.getParameter(PARAM_ACTION);
|
||||
resp.setCharacterEncoding("UTF-8");
|
||||
if (action != null) {
|
||||
if (ACTION_NAME_LIST_EVENTS.equals(action)) {
|
||||
listEvents(resp);
|
||||
|
||||
Reference in new issue
Block a user