You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rubens <ru...@hotmail.com> on 2008/10/07 04:47:05 UTC
Re: Dojo javascript errors with ajax theme. please help
In your web.xml ensure you have a filter-mapping defined for the
/struts/...<js files>. You need to make sure that a request to the
Javascript and CSS files defined in the struts jar file go thru the Struts 2
filter. That is, make sure you have something like this on your web.xml:
<filter-mapping>
<filter-name>struts2Filter</filter-name>
<url-pattern>/struts/*</url-pattern>
</filter-mapping>
If the request to your struts 2 dojo javascript files do not go thru the
Struts 2 filter, you will get 404 error when the browser attempts to
retrieve those files.
Rubens.
--
View this message in context: http://www.nabble.com/Dojo-javascript-errors-with-ajax-theme.-please-help-tp18580332p19850152.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org