cedric 02/03/22 09:40:10
Added: contrib/tiles/web/blank/WEB-INF struts-config.xml
Log:
Add missing files.
This should correct bugs7229
Revision Changes Path
1.1 jakarta-struts/contrib/tiles/web/blank/WEB-INF/struts-config.xml
Index: struts-config.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<!--
This is the Struts configuration file for the example application,
using the proposed new syntax.
NOTE: You would only flesh out the details in the "form-bean"
declarations if you had a generator tool that used them to create
the corresponding Java classes for you. Otherwise, you would
need only the "form-bean" element itself, with the corresponding
"name" and "type" attributes.
-->
<struts-config>
<!-- ========== Form Bean Definitions =================================== -->
<form-beans>
</form-beans>
<!-- ========== Global Forward Definitions ============================== -->
<global-forwards>
<forward name="failure" path="forward.example.failure.page"/>
</global-forwards>
<!-- ========== Action Mapping Definitions ============================== -->
<action-mappings>
<!-- ======================================================= -->
<!-- Admin
-->
<!-- ======================================================= -->
<!-- The standard administrative actions available with Tiles -->
<!-- These would be either omitted or protected by security -->
<!-- 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>
<!-- ========== Associated Request Processor settings =================== -->
<!-- Here we specified the tiles processor
Struts controller is available from Struts1.1. Comment out following lines
if you use Struts1.0
-->
<!-- struts1.1 only begin -->
<controller processorClass="org.apache.struts.tiles.TilesRequestProcessor" />
<!-- struts1.1 only end -->
<!-- ========== Associated Messages Ressource settings =================== -->
<!-- Not used by tiles or this website, but needed due to a bug in actual Struts
version
message-resource declaration is available from Struts1.1. Declare it in web.xml
if you
use Struts1.0
-->
<!-- struts1.1 only begin -->
<message-resources
parameter="org.apache.struts.example.tiles.dev1-1.ApplicationResources" null="false" />
<!-- struts1.1 only end -->
</struts-config>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>