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("contextPath: "+contextPath);
|
||||
logger.trace("omitted contextPath: "+contextPath);
|
||||
// logger.trace("servletPath: "+servletPath);
|
||||
// url.append(contextPath).append(servletPath);
|
||||
|
||||
|
||||
url.append(contextPath);
|
||||
|
||||
// if (pathInfo != null) {
|
||||
// url.append(pathInfo);
|
||||
// }
|
||||
|
@ -677,10 +674,7 @@ public class DownloadServlet extends HttpServlet{
|
|||
|
||||
|
||||
logger.trace("metadata info recovered from HL: [ID: "+wsItem.getId() +", name: "+wsItem.getName()+"]");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
FileOutputStream out = new FileOutputStream(new File("/tmp/bla"));
|
||||
// byte[] buffer = new byte[1024];
|
||||
// int len;
|
||||
|
|
Loading…
Reference in New Issue