struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "王曾wang_zeng" <wangzengveryc...@gmail.com>
Subject Re: Where dose JSP works in JSF request lifecycle?
Date Sat, 29 Apr 2006 01:37:28 GMT
2006/4/29, Craig McClanahan <craigmcc@apache.org>:
>
> You also have to remember that your listener is going to receive
> beforePhase() calls for *all* simultaneously active requests, not just the
> one page you might be interested in.  And, don't forget to deregister
> yourself as a listener when the request completes, so you don't create a
> memory leak.
>

The Faces servlet acts like the Action servlet, and every request goes to it
to go through the 6-phase lifecycle before they are forwarded to the JSP.
Is that the reason why my listener receives beforePhase() calls for *all*
simultaneously active requests?




--
Wang Zeng

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message