source: trunk/config/dist/web.xml @ 3098

Last change on this file since 3098 was 3098, checked in by Nicklas Nordborg, 17 years ago

References #10: Hierarchical clustering

Added servlet for downloading bioassay set data in Mev format

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Id
File size: 4.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE web-app
3    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
4    "http://java.sun.com/dtd/web-app_2_3.dtd">
5<!--
6  $Id: web.xml 3098 2007-02-05 10:52:51Z nicklas $
7
8  Copyright (C) Authors contributing to this file.
9
10  This file is part of BASE - BioArray Software Environment.
11  Available at http://base.thep.lu.se/
12
13  BASE is free software; you can redistribute it and/or
14  modify it under the terms of the GNU General Public License
15  as published by the Free Software Foundation; either version 2
16  of the License, or (at your option) any later version.
17
18  BASE is distributed in the hope that it will be useful,
19  but WITHOUT ANY WARRANTY; without even the implied warranty of
20  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  GNU General Public License for more details.
22
23  You should have received a copy of the GNU General Public License
24  along with this program; if not, write to the Free Software
25  Foundation, Inc., 59 Temple Place - Suite 330,
26  Boston, MA  02111-1307, USA.
27-->
28
29<web-app>
30  <display-name>BASE</display-name>
31  <description>
32    The BASE 2 web application.
33  </description>
34 
35  <error-page>
36    <exception-type>java.lang.Throwable</exception-type>
37    <location>/exception/exception.jsp</location>
38  </error-page>
39 
40  <!-- The View servlet used to download files in view mode -->
41  <servlet>
42    <servlet-name>view</servlet-name>
43    <servlet-class>
44      net.sf.basedb.clients.web.servlet.Download
45    </servlet-class>
46    <init-param>
47      <param-name>default_mime_type</param-name>
48      <param-value>text/plain</param-value>
49    </init-param>
50    <init-param>
51      <param-name>use_path_info</param-name>
52      <param-value>false</param-value>
53    </init-param>
54  </servlet>
55  <servlet-mapping>
56    <servlet-name>view</servlet-name>
57    <url-pattern>/filemanager/files/view/*</url-pattern>
58  </servlet-mapping>
59
60  <!-- The Download servlet used to download files in download mode -->
61  <servlet>
62    <servlet-name>download</servlet-name>
63    <servlet-class>
64      net.sf.basedb.clients.web.servlet.Download
65    </servlet-class>
66    <init-param>
67      <param-name>default_mime_type</param-name>
68      <param-value>text/plain</param-value>
69    </init-param>
70    <init-param>
71      <param-name>download</param-name>
72      <param-value>true</param-value>
73    </init-param>
74    <init-param>
75      <param-name>use_path_info</param-name>
76      <param-value>false</param-value>
77    </init-param>
78  </servlet>
79  <servlet-mapping>
80    <servlet-name>download</servlet-name>
81    <url-pattern>/filemanager/files/download/*</url-pattern>
82  </servlet-mapping>
83
84
85  <!-- The SpotImage servlet used to view spot images in a raw bioassay -->
86  <servlet>
87    <servlet-name>spotimage</servlet-name>
88    <servlet-class>
89      net.sf.basedb.clients.web.servlet.ViewSpotImage
90    </servlet-class>
91  </servlet>
92  <servlet-mapping>
93    <servlet-name>spotimage</servlet-name>
94    <url-pattern>/views/rawbioassays/rawdata/spotimage/*</url-pattern>
95  </servlet-mapping>
96
97  <!-- The Generic PlotServlet for the HTML plot tool -->
98  <servlet>
99    <servlet-name>plotter</servlet-name>
100    <servlet-class>
101      net.sf.basedb.clients.web.servlet.PlotServlet
102    </servlet-class>
103    <init-param>
104      <param-name>maxWidth</param-name>
105      <param-value>1000</param-value>
106    </init-param>
107    <init-param>
108      <param-name>maxHeight</param-name>
109      <param-value>800</param-value>
110    </init-param>
111    <init-param>
112      <param-name>defaultWidth</param-name>
113      <param-value>600</param-value>
114    </init-param>
115    <init-param>
116      <param-name>defaultHeight</param-name>
117      <param-value>400</param-value>
118    </init-param>
119    <init-param>
120      <param-name>defaultFormat</param-name>
121      <param-value>png</param-value>
122    </init-param>
123  </servlet>
124  <servlet-mapping>
125    <servlet-name>plotter</servlet-name>
126    <url-pattern>/views/experiments/plotter/plot</url-pattern>
127  </servlet-mapping>
128
129  <!-- The MevExport servlet used to download bioassay data to Mev -->
130  <servlet>
131    <servlet-name>mevexport</servlet-name>
132    <servlet-class>
133      net.sf.basedb.clients.web.servlet.MevExport
134    </servlet-class>
135  </servlet>
136  <servlet-mapping>
137    <servlet-name>mevexport</servlet-name>
138    <url-pattern>/plugins/org/tigr/microarray/mev/export</url-pattern>
139  </servlet-mapping>
140
141  <!-- The CompileAll servlet used to compile all JSP pages -->
142  <!-- EXPERIMENTAL!! -->
143  <!--
144  <servlet>
145    <servlet-name>compile</servlet-name>
146    <servlet-class>
147      net.sf.basedb.clients.web.servlet.CompileAll
148    </servlet-class>
149  </servlet>
150  <servlet-mapping>
151    <servlet-name>compile</servlet-name>
152    <url-pattern>/compile</url-pattern>
153  </servlet-mapping>
154  -->
155
156  <!-- A filter that sets the character encoding on all *.jsp files -->
157  <filter>
158    <filter-name>characterEncoding</filter-name>
159    <filter-class>net.sf.basedb.clients.web.servlet.CharacterEncodingFilter</filter-class>
160    <init-param>
161      <param-name>characterEncoding</param-name>
162      <param-value>UTF-8</param-value>
163    </init-param>
164  </filter>
165 
166  <filter-mapping>
167    <filter-name>characterEncoding</filter-name>
168    <url-pattern>*.jsp</url-pattern>
169  </filter-mapping>
170
171</web-app>
Note: See TracBrowser for help on using the repository browser.