Since I got no response, I as wondering if I could write a filter that would detect "/scripts/" in the URL and serve the file without forwarding it the faces servlet.
 
Could this be a solution?
 
----- Original Message -----
Sent: Wednesday, August 02, 2006 2:14 PM
Subject: myfaces and dojo

Hello,
 
I ran into a bit of a problem getting dojo to work with my JSF project.
 
After doing some digging, I realised that the file "richtextframe.html" was returning a 404 and then it hit me.
 
*.html extension are forwarded to javax.faces.webapp.FacesServlet, so the DOJO *.html files are never found.

<servlet-mapping>

<servlet-name>faces</servlet-name>

<url-pattern>*.html</url-pattern>

</servlet-mapping>

Any idea how I can configure web.xml to ignore /scripts/* or any other suggestions on how to handle the problem?
 
Thanks,
Ren
 


Reply via email to