File: web.xml

package info (click to toggle)
webxml 1.12-3
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 388 kB
  • ctags: 123
  • sloc: cpp: 1,054; xml: 62; makefile: 22
file content (65 lines) | stat: -rw-r--r-- 1,910 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<!-- WDD file generated/edited by webxml utility (http://webxml.sf.net). Author: Boulgakov Andrei -->
<web-app>
<display-name>My first Web Application</display-name>
<session-config>
	<session-timeout>30</session-timeout>
</session-config>
<context-param>
	<param-name>webmaster</param-name>
  <param-value>lark_@users.sourceforge.net</param-value>
  <description></description>
</context-param>
<context-param>
	<param-name>developer</param-name>
  <param-value>andrei.boulgakov@nsi.co.il</param-value>
  <description>Who is this?</description>
</context-param>
<welcome-file-list>
	<welcome-file>index.jsp</welcome-file>
  <welcome-file>index.php</welcome-file>
  <welcome-file>default.asp</welcome-file>
</welcome-file-list>
<error-page>
	<error-code>404</error-code>
  <location>/errors/404.html</location>
</error-page>
<error-page>
	<error-code>500</error-code>
  <location>/errors/500.html</location>
</error-page>

<servlet>
<servlet-name>Hello</servlet-name>
  <servlet-class>exercise.HelloWorldServlet</servlet-class>
  <display-name>Hello Servlet</display-name>
  <description>This is my first serlet!
Hello, Servlet!</description>
  <init-param>
		<param-name>aaa</param-name>
		<param-value>3</param-value>
	</init-param>
  <init-param>
		<param-name>numMax</param-name>
		<param-value>5</param-value>
	</init-param>
</servlet>
<servlet>
	<servlet-name>Form</servlet-name>
  <servlet-class>exercise.FormHandler</servlet-class>
  <display-name></display-name>
  <description></description>
</servlet>

<servlet-mapping>
	<servlet-name>Hello</servlet-name>
  <url-pattern>/Hello</url-pattern>
</servlet-mapping>
<servlet-mapping>
	<servlet-name>Form</servlet-name>
  <url-pattern>/Form</url-pattern>
</servlet-mapping>
</web-app>