At the risk of starting up the old philosophical debate... You could just instantiate Action_B in Action_A and call execute yourself:
Action actionB = new Action_B(); actionB.execute(m, f, r, r); I'm not sure exactly what your Action_B is doing, so maybe that won't work, but it's an option to consider. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Thu, March 31, 2005 8:58 am, Ide Mile said: > Suppose I have two actions: Action_A and Action_B. > Action_B only generates raw data for an jpg image. >>From my Action_A I have to call Action_B several times, and just pick up >> the bytes needed to construct images. > The problem lies in the fact that from Action_A I can't call Action_B > directly, because that way the ActionForm is created every time I call > Action_B. > It happens always despite the fact that both actions are belonging to the > same session (scope="session" in action mappings). > Maintaining of the ActionForm when calling Action_B is a must. > > So, how do I read output from the Action_B inside Action_A? > I think IncludeAction might be a solution, but I don't know how to > implement it, i.e. I don't know how to use it inside servlet (Action_A). > Any sample or advice? > > > --------------------------------- > Do you Yahoo!? > Yahoo! Mail - Helps protect you from nasty viruses. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]