source: trunk/www/plugins/org/tigr/microarray/mev/launch_mev.jsp @ 3102

Last change on this file since 3102 was 3102, checked in by Jari Häkkinen, 15 years ago

Addresses #10 and #352. MeV jsp uses Servlet API to retrieve server information (name,port,...).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.3 KB
Line 
1<%-- $Id: launch_mev.jsp 3102 2007-02-05 22:02:35Z jari $
2  ------------------------------------------------------------------
3  Copyright (C) 2007 Jari Hakkinen
4
5  This file is part of BASE - BioArray Software Environment.
6  Available at http://base.thep.lu.se/
7
8  BASE is free software; you can redistribute it and/or
9  modify it under the terms of the GNU General Public License
10  as published by the Free Software Foundation; either version 2
11  of the License, or (at your option) any later version.
12
13  BASE is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17
18  You should have received a copy of the GNU General Public License
19  along with this program; if not, write to the Free Software
20  Foundation, Inc., 59 Temple Place - Suite 330,
21  Boston, MA  02111-1307, USA.
22  ------------------------------------------------------------------
23
24  @author Jari
25  @version 2.2
26--%>
27
28<%@ page session="false"
29%>
30<%
31final String SessionID=request.getParameter("ID");
32final String bioassaysetId=request.getParameter("bioassayset_id");
33final String serverName=request.getServerName();
34final int serverPort=request.getServerPort();
35final String serverPath=request.getContextPath();
36%>
37
38<%@page contentType="application/x-java-jnlp-file"%>
39<%
40response.setHeader("Expires", "0");
41%>
42<?xml version="1.0" encoding="UTF-8"?>
43<!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc.//DTD JNLP 1.5//EN" "http://www.netbeans.org/jnlp/DTD/jnlp.dtd">
44 
45<jnlp spec="1.0"
46  codebase="http://<%=serverName%>:<%=serverPort%><%=serverPath%>/plugins/org/tigr/microarray/mev"
47  version="4.0">
48
49  <information>
50    <title>MeV: MultiExperiment Viewer</title>
51    <vendor>http://www.tm4.org</vendor>
52    <homepage href="http://www.tm4.org"/>
53  </information>
54
55  <security>
56    <all-permissions/>
57  </security>
58
59  <resources>
60    <jar href="mev-base.jar"/> <!-- must be first since main class is here -->
61    <jar href="HTTPClient.jar"/>
62    <jar href="JSciCore.jar"/>
63    <jar href="JSciPartial.jar"/>
64    <jar href="Text_JDBC30.jar"/>
65    <jar href="activation.jar"/>
66    <jar href="base64.jar"/>
67    <jar href="colt.jar"/>
68    <jar href="comcgh.jar"/>
69    <jar href="dialogHelp.jar"/>
70    <jar href="educgh.jar"/>
71    <jar href="ftpbean.jar"/>
72    <jar href="images.jar"/>
73    <jar href="j3daudio.jar"/>
74    <jar href="j3dcore.jar"/>
75    <jar href="j3dutils.jar"/>
76    <jar href="jai_codec.jar"/>
77    <jar href="jai_core.jar"/>
78    <jar href="jama.jar"/>
79    <jar href="jaxp.jar"/>
80    <jar href="jconn2.jar"/>
81    <jar href="mev-algorithm-impl.jar"/>
82    <jar href="mev-algorithm-support.jar"/>
83    <jar href="mev-gui-impl.jar"/>
84    <jar href="mev-gui-support.jar"/>
85    <jar href="mev-util.jar"/>
86    <jar href="normalization.jar"/>
87    <jar href="parser.jar"/>
88    <jar href="servlet.jar"/>
89    <jar href="soap.jar"/>
90    <jar href="vecmath.jar"/>
91    <jar href="xerces.jar"/>
92    <extension name="others" href="others.jsp"/>
93    <j2se version="1.4.2+"
94      max-heap-size="512M"
95      href="http://java.sun.com/products/autodl/j2se"/>
96  </resources>
97  <application-desc main-class="org.tigr.microarray.mev.TMEV">
98    <argument>-download_url http://<%=serverName%>:<%=serverPort%><%=serverPath%>/plugins/org/tigr/microarray/mev/export?ID=<%=SessionID%>&bioassayset_id=<%=bioassaysetId%></argument>
99    <argument>-row 1</argument>
100    <argument>-column 20</argument>
101  </application-desc>
102</jnlp>
Note: See TracBrowser for help on using the repository browser.