dwr.xml
<allow> ... <create creator="jsf" javascript="ScriptName"> <param name="managedBeanName" value="beanName"/> <param name="class" value="your.class"/> </create> ... </allow>
web.xml
<filter> <filter-name>DwrFacesFilter</filter-name> <filter-class>org.directwebremoting.faces.FacesExtensionFilter</filter-class> </filter> <filter-mapping> <filter-name>DwrFacesFilter</filter-name> <url-pattern>/dwr/*</url-pattern> </filter-mapping>