From ab78d170650106d1d1113282598b6d8270ef2e76 Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Fri, 31 Jan 2014 21:44:51 +0700 Subject: Russian as default --- src/java/com/juick/http/www/Login.java | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) (limited to 'src/java/com/juick/http/www/Login.java') diff --git a/src/java/com/juick/http/www/Login.java b/src/java/com/juick/http/www/Login.java index 954d21c9..a24eac2b 100644 --- a/src/java/com/juick/http/www/Login.java +++ b/src/java/com/juick/http/www/Login.java @@ -22,8 +22,6 @@ import java.io.PrintWriter; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; -import java.util.Locale; -import java.util.ResourceBundle; import javax.servlet.ServletException; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; @@ -42,10 +40,6 @@ public class Login { return; } - Locale locale = request.getLocale(); - ResourceBundle rb = ResourceBundle.getBundle("Login", locale); - ResourceBundle rbg = ResourceBundle.getBundle("Global", locale); - response.setContentType("text/html; charset=UTF-8"); PrintWriter out = response.getWriter(); try { @@ -168,27 +162,20 @@ public class Login { out.println("