[ https://issues.apache.org/jira/browse/WW-5377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17801523#comment-17801523 ]
Lukasz Lenart commented on WW-5377: ----------------------------------- It would be better to discuss such problem on the Users Mailing list first as I don't know what problem you have right now. Using the {{<s:script/>}} tag is required to get a proper {{nonce}} attribute set which is required by CSP. https://struts.apache.org/mail.html > trouble with Struts tags nested within <s:script> one > ----------------------------------------------------- > > Key: WW-5377 > URL: https://issues.apache.org/jira/browse/WW-5377 > Project: Struts 2 > Issue Type: Improvement > Affects Versions: 6.3.0 > Reporter: Patrice DUROUX > Priority: Minor > Fix For: 6.4.0 > > > Hi, > I am facing a trouble with some JSPs that contain code like: > {code:java} > <s:script> > var data = <s:action name="data" exeretureResult="true" />; > .... > </s:script> > {code} > Using <script> in place of <s:script> gives then the expected result. > Also I am not sure if using <s:script> is better even for in-line script, > I was just think so. > Thanks! -- This message was sent by Atlassian Jira (v8.20.10#820010)