aboutsummaryrefslogtreecommitdiff
path: root/spss.slinterface/src/at/gv/egovernment/moa/spss
diff options
context:
space:
mode:
authorgregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2006-06-26 14:51:38 +0000
committergregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2006-06-26 14:51:38 +0000
commit37553c60c9b4c98b7e696d6fbf01fae4ad84eb69 (patch)
tree0e75f5a3013afb76862db203fe2f4359bcd6d4de /spss.slinterface/src/at/gv/egovernment/moa/spss
parente06e1534392fadfd84c84fb403be56fa9c852fdb (diff)
downloadmoa-id-spss-37553c60c9b4c98b7e696d6fbf01fae4ad84eb69.tar.gz
moa-id-spss-37553c60c9b4c98b7e696d6fbf01fae4ad84eb69.tar.bz2
moa-id-spss-37553c60c9b4c98b7e696d6fbf01fae4ad84eb69.zip
Content-Type Header korrekt gesetzt.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@715 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'spss.slinterface/src/at/gv/egovernment/moa/spss')
-rw-r--r--spss.slinterface/src/at/gv/egovernment/moa/spss/slinterface/filters/SL2MOAFilter.java2
-rw-r--r--spss.slinterface/src/at/gv/egovernment/moa/spss/slinterface/servlets/HashInputDataServlet.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/spss.slinterface/src/at/gv/egovernment/moa/spss/slinterface/filters/SL2MOAFilter.java b/spss.slinterface/src/at/gv/egovernment/moa/spss/slinterface/filters/SL2MOAFilter.java
index 0ff14551f..d73dbdfd2 100644
--- a/spss.slinterface/src/at/gv/egovernment/moa/spss/slinterface/filters/SL2MOAFilter.java
+++ b/spss.slinterface/src/at/gv/egovernment/moa/spss/slinterface/filters/SL2MOAFilter.java
@@ -79,7 +79,7 @@ public class SL2MOAFilter implements Filter
// it in the response JSP page has no effects at all. Perhaps any of the filters or the like already
// writes to the response output stream.
HttpServletResponse httpResponse = (HttpServletResponse) response;
- httpResponse.setHeader("Content-Type", "text/html; charset='ISO-8859-1'");
+ httpResponse.setHeader("Content-Type", "text/html; charset=ISO-8859-1");
// Create session
HttpSession session = ((HttpServletRequest) request).getSession(true);
diff --git a/spss.slinterface/src/at/gv/egovernment/moa/spss/slinterface/servlets/HashInputDataServlet.java b/spss.slinterface/src/at/gv/egovernment/moa/spss/slinterface/servlets/HashInputDataServlet.java
index f7cfb7e6c..1f82540bb 100644
--- a/spss.slinterface/src/at/gv/egovernment/moa/spss/slinterface/servlets/HashInputDataServlet.java
+++ b/spss.slinterface/src/at/gv/egovernment/moa/spss/slinterface/servlets/HashInputDataServlet.java
@@ -73,7 +73,7 @@ public class HashInputDataServlet extends HttpServlet
// Set content type
boolean isSLXHTML = dataInfo.getIsSLXHTMLDocument();
- String contenType = (isSLXHTML) ? "text/html" : "application/octet-stream";
+ String contenType = (isSLXHTML) ? "text/html;charset=utf-8" : "application/octet-stream";
response.setContentType(contenType);
// Write content from temporary HID file to response OS