Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 67522 invoked from network); 1 Nov 2001 18:00:51 -0000 Received: from unknown (HELO osaka.betaversion.org) (192.18.49.133) by daedalus.apache.org with SMTP; 1 Nov 2001 18:00:51 -0000 Received: (qmail 1157 invoked from network); 1 Nov 2001 18:03:05 -0000 Received: from nagoya.betaversion.org (192.18.49.131) by osaka.betaversion.org with SMTP; 1 Nov 2001 18:03:05 -0000 Received: (qmail 9881 invoked by uid 97); 1 Nov 2001 18:00:44 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 9839 invoked by uid 97); 1 Nov 2001 18:00:43 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 9826 invoked by uid 50); 1 Nov 2001 18:00:42 -0000 Date: 1 Nov 2001 18:00:42 -0000 Message-ID: <20011101180042.9825.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 4571] New: - Custom Tag with scriptlet Expression attribute not compiled correctly X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4571 Custom Tag with scriptlet Expression attribute not compiled correctly Summary: Custom Tag with scriptlet Expression attribute not compiled correctly Product: Tomcat 4 Version: 4.0.1 Final Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: Jasper AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: gwatts@onepipeline.com A custom tag with a scriptlet expression for an attribute will compile the scriptlet attribute as a string, instead of a variable. The code in the jsp: The resulting compiled code: _jspx_th_test_tasks_0.setCommand("<%=command%>"); >From Sun's site: http://java.sun.com/products/jsp/tutorial/TagLibraries6.html The following tag has an attribute named date, which accepts a String value obtained by evaluating the variable today: -- To unsubscribe, e-mail: For additional commands, e-mail: