The most common reason for 1) is having your /WEB-INF/faces-config.xml specified in the javax.faces.CONFIG_FILES init param in your web.xml file. This causes the file to be loaded twice, and causes your phase listeners to be registered twice, and thus called twice.
I don't know the answer to 2) but if I were looking into it, I'd start by seeing if a custom NavigationManager could track the information before and after the calls delegated to the real NavigationManager. On 9/14/05, Felix Japs <[EMAIL PROTECTED]> wrote: > Hi, > > I've got two questions I didn't find an answer for. > > 1) I use a render response listener in order to execute some final > database commands. The "after" method is executed twice, the second > time it is executed immediately after the first time. This is not > really what I want to. What went wrong? > > 2) Before displaying a page, I'd like to know from which jsp page I > come from and to which page I'm going. Is there any possibility to > find out that automatically? > > Thanks for your help, > > Chris > >

