Try using absolute URL:s for the CSS files, it might be a workaround but it's
worked for me before.


Srinivas.N. wrote:
> 
> I am using the restful mapper through a CompositeActionMapper as in
> 
> <constant name="struts.mapper.class"
> value="org.apache.struts2.dispatcher.mapper.CompositeActionMapper"/>
> <constant name="struts.mapper.composite" value="struts,restful"/> 
> 
> However, the css files dont seem to be loading for any of the URLs once I
> use this mapper. I saw the same issue in another thread
> http://www.nabble.com/CompositeActionMapper-tf3433990.html#a9573608
> Someone had posted a patch for FilterDispatcher.class in that thread and
> when I tried that, URLs invoked through the struts action mapper work ok,
> but for URLs invoked through the restful syntax, the CSS files are still
> not loading.
> 
> Any ideas?
> 
> And on the topic of restful URLs, is there a way to make the s:url tag
> generate restful URLs?
> 
> Thanks
> Srinivas
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--Problems-loading-css-files-in-RestfulActionMapper-tf4182294.html#a11919918
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to