File: struts-config.xml

package info (click to toggle)
libstruts1.2-java 1.2.9-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 47,516 kB
  • ctags: 29,430
  • sloc: xml: 90,344; java: 71,078; jsp: 31,692; makefile: 10; sh: 2
file content (55 lines) | stat: -rw-r--r-- 2,400 bytes parent folder | download | duplicates (6)
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
<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
          "http://struts.apache.org/dtds/struts-config_1_2.dtd">
<!--
     This is the Struts configuration file for the
     Tiles-documentation application
-->


<struts-config>

  <!-- ========== Action Mapping Definitions =============================== -->
  <action-mappings>

    <!-- The standard administrative actions available with Tiles -->
    <!-- These would be either omitted or protected by security constraints -->
    <!-- in a real application deployment -->

    <action    path="/admin/tiles/reload"
               type="org.apache.struts.tiles.actions.ReloadDefinitionsAction"/>
    <action    path="/admin/tiles/view"
               type="org.apache.struts.tiles.actions.ViewDefinitionsAction"/>
			   
  </action-mappings>

  
  <!-- ========== Request Processor Declaration =================== -->
  <!-- The Tiles framework use a special request processor. YOU DON'T -->
  <!-- NEED TO DECLARE IT yourself (The TilesPlugin do it for you), unless -->
  <!-- you have created your own request processor. In this later case, -->
  <!-- your request processor should extend the org.apache.struts.tiles.TilesRequestProcessor -->
  <!-- and be declared here -->
  <!--  <controller processorClass="your.RequestProcessor"  />  -->

  <!-- ========== Associated Messages Ressource settings =================== -->
  <!-- Uncomment the following if your webserver complains about a missing resources. -->
  <!-- This resource is not needed by Tiles or this example. It is just a trick to make -->
  <!-- Struts happy with some web server. -->
  <!-- <message-resources parameter="org.apache.struts.webapp.tiles.dev1-1.ApplicationResources" null="false" /> -->

  
 <!-- ========== TilesPlugin settings ===================================== -->
 <!-- You should declare this plugin if you want to use Tiles with an XML definition file. -->
  <plug-in className="org.apache.struts.tiles.TilesPlugin" >

    <!-- Path to XML definition file -->
    <set-property property="definitions-config" 
	                 value="/WEB-INF/tiles-defs.xml" />
    <!-- Set Module-awareness to true -->
    <set-property property="moduleAware" value="true" />
  </plug-in>

</struts-config>