~ubuntu-branches/ubuntu/trusty/libstruts1.2-java/trusty-proposed

« back to all changes in this revision

Viewing changes to contrib/struts-el/target/exercise-taglib/WEB-INF/struts-config.xml

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2004-11-19 15:35:25 UTC
  • Revision ID: james.westby@ubuntu.com-20041119153525-mdu08a76z4zo67xt
Tags: upstream-1.2.4
ImportĀ upstreamĀ versionĀ 1.2.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="ISO-8859-1" ?>
 
2
 
 
3
<!DOCTYPE struts-config PUBLIC
 
4
          "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
 
5
          "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
 
6
 
 
7
<struts-config>
 
8
 
 
9
  <form-beans>
 
10
    <form-bean name="testbean"
 
11
               type="org.apache.struts.webapp.exercise.TestBean"/>
 
12
    <form-bean name="dynabean" type="org.apache.struts.action.DynaActionForm">
 
13
     <form-property name="foo" type="java.lang.String"/>
 
14
     <form-property name="bar" type="java.lang.String"/>
 
15
    </form-bean>
 
16
  </form-beans>
 
17
 
 
18
  <global-forwards>
 
19
    <forward   name="index"                path="/index.jsp"/>
 
20
    <forward name="redirectForward"
 
21
             path="/logic-redirect.jsp?redirectType=forward&amp;param1=index"/>
 
22
    <forward name="redirectHref"
 
23
             path="/logic-redirect.jsp?redirectType=href&amp;param1=http://localhost:9090/strutsel-exercise-taglib/index.jsp"/>
 
24
    <forward name="redirectPage"
 
25
             path="/logic-redirect.jsp?redirectType=page&amp;param1=/index.jsp"/>
 
26
  </global-forwards>
 
27
 
 
28
  <action-mappings>
 
29
 
 
30
    <action    path="/html-link"
 
31
               type="org.apache.struts.webapp.exercise.HtmlSettersAction"
 
32
               name="testbean"
 
33
              scope="session"
 
34
           validate="false">
 
35
      <forward name="input"                path="/html-link.jsp"/>
 
36
    </action>
 
37
 
 
38
    <action    path="/html-multibox"
 
39
               type="org.apache.struts.webapp.exercise.HtmlSettersAction"
 
40
               name="testbean"
 
41
              scope="session"
 
42
           validate="false">
 
43
      <forward name="input"                path="/html-multibox.jsp"/>
 
44
    </action>
 
45
 
 
46
    <action    path="/html-radio"
 
47
               type="org.apache.struts.webapp.exercise.HtmlSettersAction"
 
48
               name="testbean"
 
49
              scope="session"
 
50
           validate="false">
 
51
      <forward name="input"                path="/html-radio.jsp"/>
 
52
    </action>
 
53
 
 
54
    <action    path="/html-button"
 
55
               type="org.apache.struts.webapp.exercise.HtmlSettersAction"
 
56
               name="testbean"
 
57
              scope="session"
 
58
           validate="false">
 
59
      <forward name="input"                path="/html-button.jsp"/>
 
60
    </action>
 
61
 
 
62
    <action    path="/html-file"
 
63
               type="org.apache.struts.webapp.exercise.HtmlSettersAction"
 
64
               name="testbean"
 
65
              scope="session"
 
66
           validate="false">
 
67
      <forward name="input"                path="/html-file.jsp"/>
 
68
    </action>
 
69
 
 
70
    <action    path="/html-input"
 
71
               type="org.apache.struts.webapp.exercise.HtmlSettersAction"
 
72
               name="testbean"
 
73
              scope="session"
 
74
           validate="false">
 
75
      <forward name="input"                path="/html-input.jsp"/>
 
76
    </action>
 
77
 
 
78
    <action    path="/html-select"
 
79
               type="org.apache.struts.webapp.exercise.HtmlSettersAction"
 
80
               name="testbean"
 
81
              scope="session"
 
82
           validate="false">
 
83
      <forward name="input"                path="/html-select.jsp"/>
 
84
    </action>
 
85
 
 
86
    <action    path="/html-setters"
 
87
               type="org.apache.struts.webapp.exercise.HtmlSettersAction"
 
88
               name="testbean"
 
89
              scope="session"
 
90
           validate="false">
 
91
      <forward name="input"                path="/bean-dyna.jsp"/>
 
92
    </action>
 
93
    <action    path="/bean-dyna"
 
94
                                   type="org.apache.struts.webapp.exercise.DynaSetAction"
 
95
                                   name="dynabean"
 
96
              scope="session"
 
97
           validate="false">
 
98
      <forward name="success"                path="/bean-dyna.jsp"/>
 
99
    </action>
 
100
    <action    path="/html-indexed"
 
101
                                   type="org.apache.struts.webapp.exercise.HtmlSettersAction"
 
102
               name="testbean"
 
103
              scope="session"
 
104
           validate="false">
 
105
      <forward name="input"                path="/html-indexed.jsp"/>
 
106
    </action>
 
107
  </action-mappings>
 
108
 
 
109
  <message-resources
 
110
    parameter="org.apache.struts.webapp.exercise.ApplicationResources"
 
111
    null="false" />
 
112
 
 
113
</struts-config>