You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Shabbir Khadir Mohammed <sh...@wipro.com> on 2002/12/30 14:32:45 UTC

How to call Action Bean Without doing any action by User

Hi All
I want to do some Action before displaying one JSP page let's say.
How to achieve that one...???
I.e before displaying welcome.jsp if I want to call an Action Bean.

How shall I proceed.

Any suggestions..!!!


Regards
Shabbir

RE: How to call Action Bean Without doing any action by User

Posted by James Turner <tu...@blackbear.com>.
The best technique to date for doing this is to have welcome.jsp do a
redirect to an action which then ends up on the page you want to be at.

James

> -----Original Message-----
> From: Shabbir Khadir Mohammed [mailto:shabbir.mohammed@wipro.com] 
> Sent: Monday, December 30, 2002 8:33 AM
> To: Struts Users Mailing List; David@salserompls.com
> Subject: How to call Action Bean Without doing any action by User
> 
> 
> 
> Hi All
> I want to do some Action before displaying one JSP page let's 
> say. How to achieve that one...??? I.e before displaying 
> welcome.jsp if I want to call an Action Bean.
> 
> How shall I proceed.
> 
> Any suggestions..!!!
> 
> 
> Regards
> Shabbir
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: How to call Action Bean Without doing any action by User

Posted by Mark <ma...@libero.it>.
Define a start action or something and point there..

Forward to the welcome page, or perhaps not depend on whether your "some
action" is happy.. (i.e. Doesn't throw an exception, or fail anything).




On 30-12-2002 13:32, "Shabbir Khadir Mohammed" <sh...@wipro.com>
wrote:

> 
> Hi All
> I want to do some Action before displaying one JSP page let's say.
> How to achieve that one...???
> I.e before displaying welcome.jsp if I want to call an Action Bean.
> 
> How shall I proceed.
> 
> Any suggestions..!!!
> 
> 
> Regards
> Shabbir
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>