source: trunk/src/web.xml.in @ 1794

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

Added File manager with the new list design. The old is still
available, since the new one is not yet completely functional.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.2 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.in 1794 2006-01-19 13:54:08Z nicklas $
7
8  BioArray Software Environment (BASE) - http://base.thep.lu.se/
9  Copyright (C) 2002-2004 Lao Saal, Carl Troein,
10  Johan Vallon-Christersson, Jari H&auml;kkinen, Nicklas Nordborg
11
12  This file is part of BASE.
13
14  BASE is free software; you can redistribute it and/or
15  modify it under the terms of the GNU General Public License
16  as published by the Free Software Foundation; either version 2
17  of the License, or (at your option) any later version.
18
19  BASE is distributed in the hope that it will be useful,
20  but WITHOUT ANY WARRANTY; without even the implied warranty of
21  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22  GNU General Public License for more details.
23
24  You should have received a copy of the GNU General Public License
25  along with this program; if not, write to the Free Software
26  Foundation, Inc., 59 Temple Place - Suite 330,
27  Boston, MA  02111-1307, USA.
28-->
29
30<web-app>
31  <display-name>BASE</display-name>
32  <description>
33    The BASE 2 web application.
34  </description>
35 
36  <error-page>
37    <exception-type>java.lang.Throwable</exception-type>
38    <location>/exception/exception.jsp</location>
39  </error-page>
40 
41  <!-- The View servlet used to download files in view mode -->
42  <servlet>
43    <servlet-name>view</servlet-name>
44    <servlet-class>
45      net.sf.basedb.clients.web.servlet.Download
46    </servlet-class>
47    <init-param>
48      <param-name>default_mime_type</param-name>
49      <param-value>text/plain</param-value>
50    </init-param>
51  </servlet>
52
53  <!-- The Download servlet used to download files in download mode -->
54  <servlet>
55    <servlet-name>download</servlet-name>
56    <servlet-class>
57      net.sf.basedb.clients.web.servlet.Download
58    </servlet-class>
59    <init-param>
60      <param-name>default_mime_type</param-name>
61      <param-value>text/plain</param-value>
62    </init-param>
63    <init-param>
64      <param-name>download</param-name>
65      <param-value>true</param-value>
66    </init-param>
67  </servlet>
68
69  <!-- The SpotImage servlet used to view spot images in a raw bioassay -->
70  <servlet>
71    <servlet-name>spotimage</servlet-name>
72    <servlet-class>
73      net.sf.basedb.clients.web.servlet.ViewSpotImage
74    </servlet-class>
75  </servlet>
76
77  <servlet-mapping>
78    <servlet-name>download</servlet-name>
79    <url-pattern>/filemanager/files/download/*</url-pattern>
80  </servlet-mapping>
81  <servlet-mapping>
82    <servlet-name>view</servlet-name>
83    <url-pattern>/filemanager/files/view/*</url-pattern>
84  </servlet-mapping>
85  <servlet-mapping>
86    <servlet-name>spotimage</servlet-name>
87    <url-pattern>/views/rawbioassays/rawdata/spotimage</url-pattern>
88  </servlet-mapping>
89
90  <!-- A filter that sets the character encoding on all *.jsp files -->
91  <filter>
92    <filter-name>characterEncoding</filter-name>
93    <filter-class>net.sf.basedb.clients.web.servlet.CharacterEncodingFilter</filter-class>
94    <init-param>
95      <param-name>characterEncoding</param-name>
96      <param-value>ISO-8859-1</param-value>
97      <!--
98      <param-value>UTF-8</param-value>
99      -->
100    </init-param>
101  </filter>
102 
103  <filter-mapping>
104    <filter-name>characterEncoding</filter-name>
105    <url-pattern>*.jsp</url-pattern>
106  </filter-mapping>
107
108</web-app>
Note: See TracBrowser for help on using the repository browser.