After doing some more debugging it looks like the issue is triggered when there are multiple calls to c:set. If you have the following code:
<%@ page contentType="text/html; charset=UTF-8" %> <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib prefix="s" uri="/struts-tags" %> <html> <head> <title><s:text name="hello.message"/></title> </head> <body> <c:set var="first" value="success" scope="request" /> <p>Set attempt #1: <s:property value="#request.first" /></p> <c:set var="second" value="success" scope="request" /> <p>Set attempt #2: <s:property value="#request.second" /></p> </body> </html> On 6.1.2.1 you get: Set attempt #1: success Set attempt #2: success But on 6.2.0 you only get: Set attempt #1: success Set attempt #2: Note: the call to <s:property value="#request.second" /> returns nothing in 6.2.0 Wyatt -----Original Message----- From: Lukasz Lenart <lukaszlen...@apache.org> Sent: Saturday, July 29, 2023 10:48 AM To: Struts Users Mailing List <user@struts.apache.org> Subject: Re: Set tag not working in 6.2.0 sob., 29 lip 2023 o 15:38 Tellis, Wyatt <wyatt.tel...@ucsf.edu.invalid> napisał(a): > > No, its just the standard JSTL Core set tag: Just tested the following setup and it just works with Struts 6.2.0 and Java 8/11/17 <c:set var="listType" value="TEST1" scope="request" /> <s:set var="lcType" value="#request.listType.toLowerCase()" /> <h1>${listType} / ${lcType}</h1> Regards -- Łukasz + 48 606 323 122 https://urldefense.com/v3/__http://www.lenart.org.pl/__;!!LQC6Cpwp!oGpVcazX0XRptUnDTirR-XJ4UuG5OFpnK80nZlEJ9UMfPgTA08wlxZnIBHl6-xAnxzscWCRqDnjth8ljfHYvCTUHlvg$ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org