Hello Ted,

I think that second variant is more useful, but why not to implement
ActionServlet.invokeAction() method with help of number public
methods? So developer can write his own code on base of it.

Saturday, December 01, 2001, 5:35:58 AM, you wrote:

TH> Going back to 

TH> http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg01351.html

TH> "It would be nice if there was some Struts mechanism so that I could
TH> tell
TH> Struts "please pass this form bean directly to the target action instead
TH> of
TH> resetting one and populating it from request parameters". Then my target
TH> action wouldn't need to be aware that it was the target of the chain, or
TH> that the form bean was hand-crafted."

TH> How about if we made a few more things public so you could do something
TH> like 

TH> ActionMapping chainMapping =
TH> servlet.processMapping("/do/another/Action",request);
TH> Action chainAction = servlet.processActionCreate(chainMapping,request);
TH> ActionForward chainForward = servlet.processActionPerform(
TH>         chainAction,chainMapping,form,request,response);

TH> Or added an all-in-one method that did this for you, and just returned a
TH> forward 

TH> ActionForward chainForward = servlet.invokeAction(
TH>         "/do/another/Action",form,request,response);


TH> (Quick, someone talk him down off the ledge.)


TH> -- Ted Husted, Husted dot Com, Fairport NY USA.
TH> -- Custom Software ~ Technical Services.
TH> -- Tel +1 716 737-3463
TH> -- http://www.husted.com/struts/

TH> --
TH> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
TH> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



-- 
Best regards,
 Oleg                            mailto:[EMAIL PROTECTED]



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

Reply via email to