You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2014/11/13 09:09:34 UTC

[jira] [Commented] (WW-4418) Plugin script resources don't load when action extension is blank

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

Lukasz Lenart commented on WW-4418:
-----------------------------------

It only happens when you define empty action extension
{code:xml}
<constant name="struts.action.extension" value=""/>
{code}

It was designed in that way from the very beginning so changing it can influence users.

> 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
>    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)