I'm trying to set up a new app using 1.3.5 and I am going to set up the 
process-view chain to do some view logic, if possible.

Please could someone in-the-know check these steps to configure 1.3.5:

* create a web.xml with the ActionServlet config, e.g. from the 
struts-blank.war in the apps download and put this in the servlet node: [1]

<init-param>
  <param-name>chainConfig</param-name>
  <param-value>org/mydns/strutsstuff/chain-config.xml</param-value>
</init-param>

* create this chain-config.xml based on the one in the struts-core.jar at org.apache.struts.chain or on the one in struts-tiles.jar at org.apache.struts.tiles (for the tiles processing command)
* delete the old controller config from struts-config.xml, or use a new 
struts-config from the struts-blank.war

* update the tiles-defs.xml DOCTYPE to version 1.3 (see [1] )

* write a bespoke command to do the view logic, extending ActionCommand.java 
(is that correct?) and reference it in the chain-config.xml in the 
'process-view' chain


By the way, the 'servlet-exception' chain from struts-core has only 2 commands: ExceptionHandler, PerformForward. But the chain from struts-tiles.jar has 4: ExceptionHandler, ExecuteForwardCommand, TilesPreProcessor, PerformForward. Is that 'ExecuteForwardCommand' tiles specific?

[1] http://wiki.apache.org/struts/StrutsUpgradeNotes12to13

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to