From 2e03a0e97c46a4bec96d9d736ec880a54575f293 Mon Sep 17 00:00:00 2001 From: gregor Date: Mon, 20 Jun 2005 13:08:53 +0000 Subject: =?UTF-8?q?Explizite=20Abfrage=20auf=20Backslash=20als=20Fileseper?= =?UTF-8?q?ator=20durch=20entsprechende=20Java=20Systemp-Property=20ersetz?= =?UTF-8?q?t=20(Plattformunabh=C3=A4ngigkeit).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@354 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../src/at/gv/egovernment/moa/spss/slinterface/beans/DataInfoBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spss.slinterface/WEB-INF/src') 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_); -- cgit v1.2.3