Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

RE: Struts /silly question / ignore

Marco Mistroni

2004-10-08

Replies:

Hello,
 Shame on me :-(
It was enough to extend XAction to get the method that gets the data
And put it into the session..

Sorry all

Regards
 marco

-----Original Message-----
From: Marco Mistroni [mailto:mmistroni@(protected)]
Sent: 08 October 2004 12:33
To: 'Struts Users Mailing List'
Subject: Struts /silly question

Hello all,
 I am sure this is a very easy question, but I cannot
Figure out the solution...

I have a XAction class which is in charge of calling a business
delegate,
Get some data and put it into the session..

Now, I want to be able to call this XAction class from different action
class (to avoid duplicate the code that loads the data and put it into
the
Session).

Question is: how do I invoke an action2 from action1, and then return
control action 1?

Thanx in advance and regards
 Marco




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.