[ 
https://issues.apache.org/jira/browse/WW-4418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14211252#comment-14211252
 ] 

Aleksandr Mashchenko edited comment on WW-4418 at 11/13/14 8:34 PM:
--------------------------------------------------------------------

It is more or less documented in here: 
http://struts.apache.org/development/2.x/docs/strutsproperties.html.
{quote}
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=,
{quote}

Documented bug => feature. But it doesn't mean that this shouldn't be improved 
in next major release.


was (Author: aleksandr-m):
It is more or less documented in here: 
http://struts.apache.org/development/2.x/docs/strutsproperties.html.
{quote}
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=,
{quote}

Documented bug => feature.

> Plugin script resources don't load when action extension is blank
> -----------------------------------------------------------------
>
>                 Key: WW-4418
>                 URL: https://issues.apache.org/jira/browse/WW-4418
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.1.8
>            Reporter: Paul Benedict
>            Priority: Minor
>             Fix For: 2.5
>
>
> Using <s:head> outputs a link to utils.js:
> {code}
> <script src="/mycontext/struts/utils.js"...></script>
> {code}
> But the file can't be found. FYI, I have no action extension. The solution is 
> to make the action extension a comma:
> http://stackoverflow.com/questions/12607075/struts2-action-extension-causing-css-javascript-and-struts-dojo-to-break
> But this is obviously a bug.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to