Looks like .zip is needed to attach things... ----- Original Message ----- From: "Sgarlata Matt" <[EMAIL PROTECTED]> To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]> Sent: Sunday, September 28, 2003 5:30 PM Subject: [Chain] CommandAction
> To do testing for the ChainServlet I was using Struts and set up my own > CommandAction which I think is rather nice. As you might have guessed, you > use it like this: > > <action > path="/chainTest" > type="com.bah.krm.actions.CommandAction" > parameter="SaveAsset"> > <forward > name="success" > path="/test.jsp"/> > </action> > > where SaveAsset is the name of a command stored in the catalog initialized > by the ChainServlet. If the command executes successfully, the user is sent > to the success forward. Otherwise, Struts' error-handling mechanisms take > over. Do you think this Action could find a home somewhere? > > I am attaching the Action in case you want to take a look. It will not > compile outside my application framework. If you like it, I will clean it > up, remove dependencies on my application framework, add documentation, and > change the coding conventions. > > Matt > > ---------------------------------------------------------------------------- ---- > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
CommandAction.zip
Description: Zip compressed data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]