<span class="postbody">I configure my web application with form based
authentication. When I type the url for protected page, jboss redirect
to my login page. The problem is that jboss renders my login page first
and then invoke the request listener and filter class. I have print out
messages in my login page and listener and filter classes and for sure
messages were printed out first in login page. If I just type login
page url directly, messages were printed out first in listener and
filter classes. I try the same war file in jetty server, it always has
the right order: call listener, filter and then render page. Do I need
to change configuration to make it work or I need change my code? I
must call filter and listener first before rendering login Page. My
jboss server is <a href="http://4.2.3.GA">4.2.3.GA</a>
</span><br clear="all"><br>-- <br>Haipeng Du<br>Salt Lake City<br>