aboutsummaryrefslogtreecommitdiff
path: root/spss.slinterface/WEB-INF/src
diff options
context:
space:
mode:
authorgregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-06-20 13:08:53 +0000
committergregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-06-20 13:08:53 +0000
commit2e03a0e97c46a4bec96d9d736ec880a54575f293 (patch)
tree0fc08d94ae2db0fd146c73a0421af6401a8447e4 /spss.slinterface/WEB-INF/src
parentd4bc65b227ece358c03405c4c3f16907a061274e (diff)
downloadmoa-id-spss-2e03a0e97c46a4bec96d9d736ec880a54575f293.tar.gz
moa-id-spss-2e03a0e97c46a4bec96d9d736ec880a54575f293.tar.bz2
moa-id-spss-2e03a0e97c46a4bec96d9d736ec880a54575f293.zip
Explizite Abfrage auf Backslash als Fileseperator durch entsprechende Java Systemp-Property ersetzt (Plattformunabhängigkeit).
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@354 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'spss.slinterface/WEB-INF/src')
-rw-r--r--spss.slinterface/WEB-INF/src/at/gv/egovernment/moa/spss/slinterface/beans/DataInfoBean.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/spss.slinterface/WEB-INF/src/at/gv/egovernment/moa/spss/slinterface/beans/DataInfoBean.java b/spss.slinterface/WEB-INF/src/at/gv/egovernment/moa/spss/slinterface/beans/DataInfoBean.java
index 3b58a8327..570f3fb15 100644
--- a/spss.slinterface/WEB-INF/src/at/gv/egovernment/moa/spss/slinterface/beans/DataInfoBean.java
+++ b/spss.slinterface/WEB-INF/src/at/gv/egovernment/moa/spss/slinterface/beans/DataInfoBean.java
@@ -326,7 +326,7 @@ public class DataInfoBean implements HttpSessionBindingListener
HashInputDataInfo currHidi = (HashInputDataInfo) signedImages.get(uri);
Attr srcAttr = currImgElem.getAttributeNode(SRC_ATTR_);
- int slashPos = currHidi.filename_.lastIndexOf('\\');
+ int slashPos = currHidi.filename_.lastIndexOf(System.getProperty("file.separator"));
// Properties initProps = (Properties) context_.getAttribute(Constants.WSCP_INIT_PROPS_);
// String tempDir = initProps.getProperty(Constants.IP_TEMP_DIR_);