Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

com.opensymphony.xwork2.XWorkException was replaced by org.apache.struts2.StrutsException.

Tag escape behaviour

After migrating to the latest Freemarker (which enables auto-escaping by default) you should top using ?html in your custom tags and freemarker based pages. Also when embedding one tag in another like in the example below:

Code Block
<s:a href="%{...}">
  <img src="<s:url value='/images/icon_waste_sml.png'/>"/>
</s:a>

The inner tag will be automatically escaped, to avoid such behaviour set "escapeHtmlBody" attribute to "false" as below:

Code Block
<s:a href="%{...}" escapeHtmlBody="false">
  <img src="<s:url value='/images/icon_waste_sml.png'/>"/>
</s:a>

It's related to

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyWW-5022
and
Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyWW-4972
.

Temp/Work directory of ApplicationServer/ServletContainer

...