You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2008/11/02 22:17:01 UTC

[Myfaces Wiki] Update of "FAQ" by SimonKitching

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by SimonKitching:
http://wiki.apache.org/myfaces/FAQ

The comment on the change is:
Add info about Websphere + ExtensionsFilter

------------------------------------------------------------------------------
  
   1. Make sure that you have the correct filters as explained in [http://myfaces.apache.org/tomahawk/extensionsFilter.html]
   2. If you are using servlets 2.4, you cannot do a jsp:forward or request.getDispatcher().forward to any page, because the extensions filter is not executed. Instead you may want to try with a response.sendRedirect()
+ 
+ == The Tomahawk ExtensionsFilter is not working on Websphere ==
+ 
+ You may need to set the special websphere property com.ibm.ws.webcontainer.invokefilterscompatibility to true.
+ 
+ It looks like Websphere does not run filters when a request url does not map to a servlet _and_ does not map to a file on disk.
+ As Tomahawk !ExtensionFilter urls do neither of these, Websphere simply doesn't run the filter. Setting the above property to true causes Websphere to act
+ like every other servlet engine on planet earth, and run the filters in all cases.
  
  === Using the tomahawk :popup tag causes java.lang.NullPointerException in HtmlPopupRenderer.encodeEnd ===