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:35 UTC
Re: Error occurs in WebSphere - validatation.js not found in
/struts/template/css_xhtml
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/Error-occurs-in-WebSphere---validatation.js-not-found-in--struts-template-css_xhtml-tp16266747p19850157.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
Re: Error occurs in WebSphere - validatation.js not found in
/struts/template/css_xhtml
Posted by strutstwouser <st...@gmail.com>.
You may want to check if you've the latest Websphere patches installed, since
this could be a Websphere specific issue ; i had come across
http://www.nabble.com/Re%3A--S2-----FIXED!--Websphere-6.1-Showcase-application%2C-Response-already-committed-warning-in-logs-p9831268.html
when i faced this issue an year back, and finally got it working by patching
WAS.
-j
Rubens wrote:
>
> 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/Error-occurs-in-WebSphere---validatation.js-not-found-in--struts-template-css_xhtml-tp16266747p19852108.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