struts2在result中使用el表达式碰到的问题

<result name="success">/html/portlet/ext/trainingmanagement/download_file.jsp?path=${path}&amp;fileName=${fileName}&amp;mimeType=${mimeType}
</result>

如果你在连接参数时只是用了&,那么struts.xml会把它当做特殊字符处理。

所以我们应该使用&amp;代替&.

参考:struts给result添加多个参数问题

原文地址:https://www.cnblogs.com/iridescent/p/3727920.html