ok

http://myfaces.apache.org/tomahawk/extensionsFilter.html

is ok (-> improved settings in web.xml)

when i ask for a site: http:localhost:8080/dir/site.jsf it opens... i
can see it for 1 second and then it disappears and i get the url:
http:localhost:8080/dir/_javascriptDetector_?goto=/dir/site.jsf

So this is some kind of buggy http redirect, but i did no such thing.

Please help.

greets,
Adam
> 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