source: trunk/www/plugins/org/tigr/microarray/mev/others.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 Date
File size: 1.7 KB
Line 
1<!-- $Id: others.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 serverName=request.getServerName();
32final int serverPort=request.getServerPort();
33final String serverPath=request.getContextPath();
34%>
35
36<%@page contentType="application/x-java-jnlp-file"%>
37<%
38response.setHeader("Expires", "0");
39%>
40<?xml version="1.0" encoding="UTF-8"?>
41<!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc.//DTD JNLP 1.5//EN" "http://www.netbeans.org/jnlp/DTD/jnlp.dtd">
42
43<jnlp spec="1.0"
44  codebase="http://<%=serverName%>:<%=serverPort%><%=serverPath%>/plugins/org/tigr/microarray/mev"
45      version="4.0">
46  <information>
47    <title>MeV: MultiExperiment Viewer</title>
48    <vendor>http://www.tm4.org</vendor>
49    <homepage href="http://www.tm4.org"/>
50  </information>
51  <resources>
52    <jar href="mail.jar"/>
53  </resources>
54  <component-desc/>
55</jnlp>
Note: See TracBrowser for help on using the repository browser.