Struts2 .action extension causing CSS, JavaScript and Struts Dojo to break

Try to use struts action exstension with comma like this
<constant name="struts.action.extension" value=","/>.

From the struts2 properties file:

Used by the DefaultActionMapper
You may provide a comma separated list, e.g. struts.action.extension=action,jnlp,do
The blank extension allows you to match directory listings as well as pure action names
without interfering with static resources, which can be specified as an empty string
prior to a comma e.g. struts.action.extension=, or struts.action.extension=x,y,z,,
struts.action.extension=action,,

Leave a Comment