Skip to content
Snippets Groups Projects
Commit 3efcc5a8 authored by cramakri's avatar cramakri
Browse files

LMS-2131 Changed URLs to make it work on the server.

SVN: 20551
parent 13d8fef0
No related branches found
No related tags found
No related merge requests found
......@@ -54,10 +54,6 @@ public class DataSetUploadClientServingServlet extends AbstractWebStartClientSer
+ " <argument>${session-id}</argument>\n" + " </application-desc>\n"
+ "</jnlp>");
// This must be the same value as what is assigned to the ${dss_upload_gui} variable in
// dss/build.xml .
private static final String UPLOAD_GUI_PATH = "dss_upload_gui";
@Resource(name = ResourceNames.COMMON_SERVER)
private ICommonServer server;
......@@ -95,9 +91,7 @@ public class DataSetUploadClientServingServlet extends AbstractWebStartClientSer
{
if (null == codebaseUrl)
{
codebaseUrl =
server.getDefaultPutDataStoreBaseURL(getSessionToken(request))
+ "/datastore_server/" + UPLOAD_GUI_PATH;
codebaseUrl = server.getDefaultPutDataStoreBaseURL(getSessionToken(request));
}
}
......
......@@ -73,7 +73,7 @@ public class DataSetMenu extends TopMenuItem
public void componentSelected(MenuEvent ce)
{
final URLMethodWithParameters urlParams =
new URLMethodWithParameters("openbis/"
new URLMethodWithParameters("/openbis/"
+ BasicConstant.DATA_SET_UPLOAD_CLIENT_PATH);
String sessionToken = viewContext.getModel().getSessionContext().getSessionID();
urlParams.addParameter("session", sessionToken);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment