ExtensionFilter called multiple times under Weblogic
----------------------------------------------------

         Key: MYFACES-347
         URL: http://issues.apache.org/jira/browse/MYFACES-347
     Project: MyFaces
        Type: Bug
    Versions: 1.0.9 beta    
 Environment: Windows 2000 Server, Weblogic 8.1 SP2
    Reporter: Dan Zehme


Because of a lack of clarity in some version of the serlvet specification, 
Weblogic, unlike Tomcat and JBoss, invoke the servlet filters not only on the 
initial request but on forwards and includes through the RequestDispatcher.  
This behavior causes the ExtensionFilter to be called multiple times for a 
single request causing multiple insertions of the header information or 
unnecessary errors indicating that no head or body was found.

The solution to this problem is to set a request attribute indicating that the 
filter has been run and just calling chain.doFilter() when that request 
attribute is set.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to