See my response. The simplest component is the jsf-comp one that I wrote:

http://jsf-comp.sourceforge.net/components/onload/index.html


On Jan 7, 2008 2:26 PM, daniel ccss <[EMAIL PROTECTED]> wrote:

> Thanks for the answers, I used a phaselistener but is for all the
> application, like the one in the example of the login:
>
>  <phase-listener>com.loffler.copycenter.controller.LoggedInCheck
> </phase-listener>
> but this type of listener is call for every Bean and my case is different.
>
> Let me explain better my case, I have an App1 and App2, they are in
> different servers, App1 have a link to call the App2, but I need do some
> things before show the index of the App1, actually the link calls directly
> the index.jsp of the App1, In this case I only need the listener for do
> things when the App1 calls App2, something like in the onload of the app2.
> Can I use a listener when a specific JSP is show? Can I call directly the
> backing bean?
>
> thanks
>
>
>
> On Jan 7, 2008 2:53 PM, John Carlson <[EMAIL PROTECTED]> wrote:
>
> > Can you do it in Spring?
> >
> > John
> >
> >
> > At 12:24 PM 1/7/2008, you wrote:
> >
> > Hi all,
> >
> > In struts:
> > I can call a JSP page like http://..../JSP/Example.jsp and I also can
> > call an action that do something and then do the forward to the
> > Example.jsp like this: http:// <http:///> .../Example*.do
> > *
> > In JSF:
> > I can call a JSP page like http://...faces/JSP/Example.jsp *but *there
> > is a way to call a backing bean before show the JSP?
> >
> > I need to do something in the backing bean (set some variables, etc)
> > before showing the jsp, but I dont know if this is posible in JSF.
> >
> > thanks
> >
> >
>

Reply via email to