jengebr commented on code in PR #842:
URL: https://github.com/apache/tomcat/pull/842#discussion_r2046872254


##########
java/org/apache/jasper/runtime/JspRuntimeLibrary.java:
##########
@@ -957,4 +957,21 @@ public static void releaseTag(Tag tag, InstanceManager 
instanceManager) {
         }
 
     }
+
+    public static void nonstandardSetTag(jakarta.servlet.jsp.PageContext 
pageContext, String var, Object value) {
+        if (value == null) {
+            pageContext.removeAttribute(var);
+        } else {
+            pageContext.setAttribute(var, value);
+        }
+    }
+

Review Comment:
   Thank you, sorry, I missed the 3-arg vs. 4-arg distinction.  You're correct 
and I'll remove the 3-arg.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to