forked from vabburi82/Java8Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstruts.xml
More file actions
20 lines (18 loc) · 707 Bytes
/
Copy pathstruts.xml
File metadata and controls
20 lines (18 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<include file="login.xml" />
<package name="default1" namespace="/tutorials" extends="struts-default">
<action name="*" class="org.koushik.javabrains.action.TutorialAction" method="{1}">
<result name="success">/success.jsp</result>
<result name="failure">/error.jsp</result>
</action>
</package>
<package name="search" namespace="/" extends="struts-default">
<action name="search*">
<result>/search{1}.jsp</result>
</action>
</package>
</struts>