My favorites | Sign in
t-2
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
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
66
67
68
69
70
71
72
73
<?xml version="1.0"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<display-name>T2 Application Example</display-name>
<context-param>
<param-name>t2.encoding</param-name>
<param-value>UTF-8</param-value>
</context-param>
<filter>
<filter-name>sessionLimitFilter</filter-name>
<filter-class>org.t2framework.t2.development.tools.SessionLimitationFilter</filter-class>
<init-param>
<param-name>limit</param-name>
<param-value>2m</param-value>
</init-param>
</filter>
<filter>
<filter-name>uploadFilter</filter-name>
<filter-class>org.t2framework.t2.filter.MultiPartRequestFilter</filter-class>
<init-param>
<param-name>uploadMaxSize</param-name>
<param-value>100m</param-value>
</init-param>
<init-param>
<param-name>uploadMaxFileSize</param-name>
<param-value>100m</param-value>
</init-param>
<init-param>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
</init-param>
<init-param>
<param-name>uploadRepositoryPath</param-name>
<param-value>C:/temp/</param-value>
</init-param>
</filter>
<filter>
<filter-name>t2</filter-name>
<filter-class>org.t2framework.t2.filter.T2Filter</filter-class>
<init-param>
<param-name>t2.rootpackage</param-name>
<param-value>examples.page</param-value>
</init-param>
<init-param>
<param-name>t2.exclude-resources</param-name>
<param-value>css, js, png, gif, jsp, jar</param-value>
</init-param>
<init-param>
<param-name>t2.components</param-name>
<param-value>org.t2framework.t2.action.impl.ActionInvokerFactoryImpl, examples.handler.ResourceNotFoundRuntimeExceptionHandlerImpl</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>sessionLimitFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>uploadFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>t2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<error-page>
<error-code>404</error-code>
<location>/error/debug.jsp</location>
</error-page>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/error/debug.jsp</location>
</error-page>
</web-app>

Change log

r5563 by shinpei.ohtani on Feb 3, 2010   Diff
[No log message]
Go to: 
Project members, sign in to write a code review

Older revisions

r5551 by shinpei.ohtani on Feb 2, 2010   Diff
Update t2/commons as release
preparation.
r5503 by shinpei.ohtani on Jan 17, 2010   Diff
[No log message]
r4747 by shinpei.ohtani on Aug 12, 2009   Diff
[No log message]
All revisions of this file

File info

Size: 2497 bytes, 73 lines
Powered by Google Project Hosting