Hi

To solve this problem, just remove this web config param

org.apache.myfaces.DETECT_JAVASCRIPT

This one comes from 1.1 and should not be used.

Anyway, I'm sure you have a classloading problem with your particular
setup. The descriptions on the page related to extensions filter are
correct.

regards,

Leonardo

2011/6/22 Adam Furmanczuk <[email protected]>:
> Hi,
>
> I get this error after help from Leonardo, I managed to load all the jars:
>
> myfaces v2, tomahawk1.10, jsp-api.. now should be ok, but I either get
> blank page, or 404 _javascriptDetector_
>
> My relevant web.xml part see below. I use url pattern for servlet
> mapping and the same pattern for filter mapping
> http://myfaces.apache.org/tomahawk/extensionsFilter.html
> but eventhough I get Server 500 ExtensionsFilter not correctly
> configured (where I use tomahawk taglib) and 404 on pages where i do not
> use the tomahawk taglib.
>
> thx for your help folks.
>
> greets,
>
> Adam
>
> web.xml part:
>
>  <servlet>
>    <servlet-name>Faces Servlet</servlet-name>
>    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
>    <load-on-startup>1</load-on-startup>
>  </servlet>
>  <servlet-mapping>
>    <servlet-name>Faces Servlet</servlet-name>
>    <url-pattern>*.jsf</url-pattern>
>  </servlet-mapping>
>   <filter>
>        <filter-name>MyFacesExtensionsFilter</filter-name>
>        
> <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
>    <init-param>
>        <param-name>uploadMaxFileSize</param-name>
>        <param-value>20m</param-value>
>    </init-param>
> </filter>
>  <!-- servlet-name must match the name of your
> javax.faces.webapp.FacesServlet entry -->
> <!-- extension mapping for adding <script/>, <link/>, and other resource
> tags to JSF-pages  -->
> <filter-mapping>
>    <filter-name>MyFacesExtensionsFilter</filter-name>
>
>    <servlet-name>Faces Servlet</servlet-name>
> </filter-mapping>
> <!-- extension mapping for serving page-independent resources
> (javascript, stylesheets, images, etc.)  -->
> <filter-mapping>
>    <filter-name>MyFacesExtensionsFilter</filter-name>
>    <url-pattern>*.jsf</url-pattern>
> </filter-mapping>
>

Reply via email to