Hi,

what are you doing exactly with dojo and jsf? Writing components, or
just doing plain Dojo-scripting with embedding in JSPs/Facelets?

To my mind, your problem should not be solved on the server, there is
some failure in client
side scripting.

cheers,

Gerald

On 8/3/06, Rene Lavoie <[EMAIL PROTECTED]> wrote:


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 -----
From: Rene Lavoie
To: [email protected]
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






--
Gerald Müllan
Schelleingasse 2/11
1040 Vienna, Austria
0043 699 11772506
[EMAIL PROTECTED]

Reply via email to