Skip to content
Snippets Groups Projects
Commit 9a662b85 authored by felmer's avatar felmer
Browse files

LMS-1904 using Utils to get sessionID constant

SVN: 19025
parent 4e1283e3
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,7 @@ import javax.sql.DataSource; ...@@ -29,6 +29,7 @@ import javax.sql.DataSource;
import ch.systemsx.cisd.common.exceptions.ConfigurationFailureException; import ch.systemsx.cisd.common.exceptions.ConfigurationFailureException;
import ch.systemsx.cisd.common.exceptions.UserFailureException; import ch.systemsx.cisd.common.exceptions.UserFailureException;
import ch.systemsx.cisd.openbis.dss.generic.server.AbstractDatasetDownloadServlet; import ch.systemsx.cisd.openbis.dss.generic.server.AbstractDatasetDownloadServlet;
import ch.systemsx.cisd.openbis.dss.generic.server.Utils;
import ch.systemsx.cisd.openbis.dss.generic.shared.DataSourceProvider; import ch.systemsx.cisd.openbis.dss.generic.shared.DataSourceProvider;
import ch.systemsx.cisd.openbis.dss.generic.shared.ServiceProvider; import ch.systemsx.cisd.openbis.dss.generic.shared.ServiceProvider;
import ch.systemsx.cisd.yeastx.db.DBUtils; import ch.systemsx.cisd.yeastx.db.DBUtils;
...@@ -83,7 +84,7 @@ public class EICMLChromatogramGeneratorServlet extends AbstractDatasetDownloadSe ...@@ -83,7 +84,7 @@ public class EICMLChromatogramGeneratorServlet extends AbstractDatasetDownloadSe
public RequestParams(HttpServletRequest request) public RequestParams(HttpServletRequest request)
{ {
sessionId = getParam(request, SESSION_ID_PARAM); sessionId = getParam(request, Utils.SESSION_ID_PARAM);
datasetCode = getParam(request, DATASET_CODE_PARAM); datasetCode = getParam(request, DATASET_CODE_PARAM);
chromatogramId = getLongParam(request, CHROMATOGRAM_CODE_PARAM); chromatogramId = getLongParam(request, CHROMATOGRAM_CODE_PARAM);
width = getIntParam(request, IMAGE_WIDTH_PARAM, DEFAULT_WIDTH); width = getIntParam(request, IMAGE_WIDTH_PARAM, DEFAULT_WIDTH);
......
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