(continued)
A better way of expressing this would be something like:
<command name="myCommand1">
<controller-pipeline>
<controller class="com.foo.Bootstrap"/>
<controller class="com.foo.Authenticate"/>
<controller class="com.foo.ModuleSpecific1"/>
<controller class="com.foo.Command1"/>
</controller-pipeline>
<view name="success" path="myPage.jsp"/>
<view name="error" path="errorPage.jsp"/>
</command>
<command name="myCommand2">
<controller-pipeline>
<controller class="com.foo.Bootstrap"/>
<controller class="com.foo.Authenticate"/>
<controller class="com.foo.ModuleSpecific2"/>
<controller class="com.foo.Command2"/>
</controller-pipeline>
<view name="success" path="myOtherPage.jsp"/>
<view name="error" path="errorPage.jsp"/>
</command>
While this is far more clear than the preceding, it fails to allow the
String returned by go() to determine the flow for the first controllers. So
what is the compromise? Ideas?
John-Mason Shackelford
Software Developer
NCS Pearson - Measurement Services
2510 North Dodge St.
Iowa City, IA 52245
319-354-9200x6214
[EMAIL PROTECTED]
****************************************************************************
This email may contain confidential material.
If you were not an intended recipient,
Please notify the sender and delete all copies.
We may monitor email to and from our network.
****************************************************************************
-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
[INVALID FOOTER]