removed context path in redirect url
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@77424 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
72b9df7e4d
commit
f2e13c1339
|
@ -626,13 +626,10 @@ public class DownloadServlet extends HttpServlet{
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.trace("server: "+url);
|
logger.trace("server: "+url);
|
||||||
logger.trace("contextPath: "+contextPath);
|
logger.trace("omitted contextPath: "+contextPath);
|
||||||
// logger.trace("servletPath: "+servletPath);
|
// logger.trace("servletPath: "+servletPath);
|
||||||
// url.append(contextPath).append(servletPath);
|
// url.append(contextPath).append(servletPath);
|
||||||
|
|
||||||
|
|
||||||
url.append(contextPath);
|
|
||||||
|
|
||||||
// if (pathInfo != null) {
|
// if (pathInfo != null) {
|
||||||
// url.append(pathInfo);
|
// url.append(pathInfo);
|
||||||
// }
|
// }
|
||||||
|
@ -678,9 +675,6 @@ public class DownloadServlet extends HttpServlet{
|
||||||
|
|
||||||
logger.trace("metadata info recovered from HL: [ID: "+wsItem.getId() +", name: "+wsItem.getName()+"]");
|
logger.trace("metadata info recovered from HL: [ID: "+wsItem.getId() +", name: "+wsItem.getName()+"]");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
FileOutputStream out = new FileOutputStream(new File("/tmp/bla"));
|
FileOutputStream out = new FileOutputStream(new File("/tmp/bla"));
|
||||||
// byte[] buffer = new byte[1024];
|
// byte[] buffer = new byte[1024];
|
||||||
// int len;
|
// int len;
|
||||||
|
|
Loading…
Reference in New Issue