Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Chains - 1.3.5

Joseph McGranaghan

2006-12-19

Replies:


This should be simple, but for the life of me I can't get find the answer.

All I want to do is have a chain execute and then go to an action <forward>

Right now it goes through the chain and outputs a blank web page with no
source code at all.



struts-config:

<action path="/preprocess_myaction" scope="request" catalog="mycatalog"
command="mychain">

       <forward name="myaction" path="/myaction.do" />

</action>

<action path="/myaction" forward="tile.myaction" />



chain-config:

<?xml version="1.0" ?>

<catalog name="mycatalog">
 
 <chain name="mychain">
   
  <command id="GetSomethingAndPutInRequest"
className="com.draegoonZ.GetSomethingAndPutInRequest" />

 </chain>

</catalog>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.