remove explicit setting of encoding on servlet responses

This commit is contained in:
Axel Uhl committed 2011-06-21 18:18:11 +02:00
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);