Ignore:
Timestamp:
Feb 5, 2007, 11:02:35 PM (15 years ago)
Author:
Jari Häkkinen
Message:

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

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/www/plugins/org/tigr/microarray/mev/others.jsp

    r3101 r3102  
    2626-->
    2727
    28 <?xml version="1.0" encoding="utf-8"?>
     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">
    2942
    3043<jnlp spec="1.0"
    31       codebase="http://localhost:8080/base/plugins/org/tigr/microarray/mev"
     44  codebase="http://<%=serverName%>:<%=serverPort%><%=serverPath%>/plugins/org/tigr/microarray/mev"
    3245      version="4.0">
    3346  <information>
Note: See TracChangeset for help on using the changeset viewer.