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 1918 2006-02-06 13:59:19Z gregory $ |
---|
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ä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> |
---|
78 | <servlet-name>jfreeplot</servlet-name> |
---|
79 | <servlet-class> |
---|
80 | net.sf.basedb.clients.web.servlet.JFreePlotServlet |
---|
81 | </servlet-class> |
---|
82 | </servlet> |
---|
83 | <servlet-mapping> |
---|
84 | <servlet-name>jfreeplot</servlet-name> |
---|
85 | <url-pattern>/analyze/jfreeplot/*</url-pattern> |
---|
86 | </servlet-mapping> |
---|
87 | <servlet-mapping> |
---|
88 | <servlet-name>download</servlet-name> |
---|
89 | <url-pattern>/filemanager/files/download/*</url-pattern> |
---|
90 | </servlet-mapping> |
---|
91 | <servlet-mapping> |
---|
92 | <servlet-name>view</servlet-name> |
---|
93 | <url-pattern>/filemanager/files/view/*</url-pattern> |
---|
94 | </servlet-mapping> |
---|
95 | <servlet-mapping> |
---|
96 | <servlet-name>spotimage</servlet-name> |
---|
97 | <url-pattern>/views/rawbioassays/rawdata/spotimage</url-pattern> |
---|
98 | </servlet-mapping> |
---|
99 | |
---|
100 | <!-- A filter that sets the character encoding on all *.jsp files --> |
---|
101 | <filter> |
---|
102 | <filter-name>characterEncoding</filter-name> |
---|
103 | <filter-class>net.sf.basedb.clients.web.servlet.CharacterEncodingFilter</filter-class> |
---|
104 | <init-param> |
---|
105 | <param-name>characterEncoding</param-name> |
---|
106 | <param-value>ISO-8859-1</param-value> |
---|
107 | <!-- |
---|
108 | <param-value>UTF-8</param-value> |
---|
109 | --> |
---|
110 | </init-param> |
---|
111 | </filter> |
---|
112 | |
---|
113 | <filter-mapping> |
---|
114 | <filter-name>characterEncoding</filter-name> |
---|
115 | <url-pattern>*.jsp</url-pattern> |
---|
116 | </filter-mapping> |
---|
117 | |
---|
118 | </web-app> |
---|