aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/at/gv/egovernment/moa/id
diff options
context:
space:
mode:
authorrudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d>2004-06-28 20:37:27 +0000
committerrudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d>2004-06-28 20:37:27 +0000
commitc7f275a3caa003653ef654fe2a62f84815879e49 (patch)
treefc81e549457f53dcd70f74c034d574663069896b /id.server/src/at/gv/egovernment/moa/id
parent2f8b0e28abf5350b7f358bf3704714e78b64e232 (diff)
downloadmoa-id-spss-c7f275a3caa003653ef654fe2a62f84815879e49.tar.gz
moa-id-spss-c7f275a3caa003653ef654fe2a62f84815879e49.tar.bz2
moa-id-spss-c7f275a3caa003653ef654fe2a62f84815879e49.zip
added default platform logging; added charset in ContentType (RSCH)
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@137 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.server/src/at/gv/egovernment/moa/id')
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/auth/servlet/SelectBKUServlet.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/SelectBKUServlet.java b/id.server/src/at/gv/egovernment/moa/id/auth/servlet/SelectBKUServlet.java
index a41f4be05..c73f963e1 100644
--- a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/SelectBKUServlet.java
+++ b/id.server/src/at/gv/egovernment/moa/id/auth/servlet/SelectBKUServlet.java
@@ -37,6 +37,7 @@ public class SelectBKUServlet extends AuthServlet {
try {
super.init(servletConfig);
MOAIDAuthInitializer.initialize();
+ Logger.debug("default platform file.encoding: " + System.getProperty("file.encoding"));
Logger.info(MOAIDMessageProvider.getInstance().getMessage("init.00", null));
}
catch (Exception ex) {
@@ -73,13 +74,14 @@ public class SelectBKUServlet extends AuthServlet {
if (bkuSelectionType.equals(AuthConfigurationProvider.BKU_SELECTION_TYPE_HTMLCOMPLETE)) {
// bkuSelectionType==HTMLComplete
String redirectURL = returnValue;
+ resp.setContentType("text/html");
resp.sendRedirect(redirectURL);
Logger.info("REDIRECT TO: " + redirectURL);
}
else {
// bkuSelectionType==HTMLSelect
String htmlForm = returnValue;
- resp.setContentType("text/html");
+ resp.setContentType("text/html;charset=UTF-8");
Logger.debug("HTML-Form: " + htmlForm);
PrintWriter out = new PrintWriter(resp.getOutputStream());
out.print(htmlForm);