You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by cr...@apache.org on 2005/08/29 01:49:51 UTC
svn commit: r263969 -
/struts/shale/trunk/use-cases/src/web/WEB-INF/chain-config.xml
Author: craigmcc
Date: Sun Aug 28 16:49:50 2005
New Revision: 263969
URL: http://svn.apache.org/viewcvs?rev=263969&view=rev
Log:
Restore mistakenly removed remote processing in previous refactoring.
PR: Bugzilla #36401
Submitted By: Manfred Klug <manklu AT web.de>
Modified:
struts/shale/trunk/use-cases/src/web/WEB-INF/chain-config.xml
Modified: struts/shale/trunk/use-cases/src/web/WEB-INF/chain-config.xml
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/use-cases/src/web/WEB-INF/chain-config.xml?rev=263969&r1=263968&r2=263969&view=diff
==============================================================================
--- struts/shale/trunk/use-cases/src/web/WEB-INF/chain-config.xml (original)
+++ struts/shale/trunk/use-cases/src/web/WEB-INF/chain-config.xml Sun Aug 28 16:49:50 2005
@@ -22,12 +22,19 @@
<!-- Define preprocessing command chain for Shale to execute -->
<catalog name="shale">
- <!-- Disallow direct access to JSP and JSFP resources -->
<chain name="preprocess">
+ <!-- Perform remote request processing for matching requests -->
+ <!-- Successful match will terminate the processing chain -->
+ <command className="org.apache.commons.chain.generic.LookupCommand"
+ catalogName="shale"
+ name="remote"
+ optional="true"/>
+
<!-- This command is only needed for full clay html views with myfaces -->
<command className="org.apache.shale.clay.faces.ClayViewHandlerCommand" />
+ <!-- Disallow direct access to JSP and JSFP resources -->
<command className="org.apache.shale.application.ContextRelativePathFilter"
includes="\S*\.faces,\S*\.html,\S*\.gif,\S*\.jpg,/index\.jsp"
excludes="\S*\.jsp,\S*\.jspf"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org