Skip to content
Snippets Groups Projects
Commit 7df6ca5f authored by cramakri's avatar cramakri
Browse files

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

SVN: 20552
parent 3efcc5a8
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,10 @@ 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;
......@@ -91,7 +95,9 @@ public class DataSetUploadClientServingServlet extends AbstractWebStartClientSer
{
if (null == codebaseUrl)
{
codebaseUrl = server.getDefaultPutDataStoreBaseURL(getSessionToken(request));
codebaseUrl =
server.getDefaultPutDataStoreBaseURL(getSessionToken(request)) + "/"
+ UPLOAD_GUI_PATH;
}
}
......
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