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:
Francesco Mangiacrapa 2013-07-01 12:27:33 +00:00
parent 72b9df7e4d
commit f2e13c1339
1 changed files with 2 additions and 8 deletions

View File

@ -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;