You are currently reviewing an older revision of this page.
The Struts library and its dependencies have been upgraded in Appian 18.1. This guide is intended to provide a set of instructions that users can follow to update existing legacy customizations.
The library version changes are as follows:
This legacy library upgrade affects customer customizations in the following types of files:
If your customizations require copying Core Struts JARs to other folders (an uncommon scenario), please note that Struts now consists of multiple jars, including core, el, tiles, taglib, and extras.
If you are using a custom web.xml file that overwrites the web.xml provided by Appian (an uncommon scenario), you will need to make the following changes.
Find the Struts Action Servlet in the web.xml file. For example, look for:
<servlet-name>action</servlet-name>
<servlet-class>com.appiancorp.common.struts.AppianActionServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
If you need to preserve the same functionality that these unsupported parameters were providing, they must be added to the appropriate Struts Configuration Files. Example:You find this parameter inside your action servlet:<init-param> <param-name>maxFileSize</param-name> <param-value>1G</param-value></init-param>You would remove this parameter, and then add an equivalent set-property element the inside the <controller> element in your customized version of struts-config-framework.xml, like so: <controller> ... <set-property property="maxFileSize" value="1G" /></controller>