tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kazuaki Miyauchi <miyau...@gmail.com>
Subject Re: How to cast String to int in EL?
Date Tue, 20 Aug 2019 10:00:05 GMT
 This is only amusing. I tried at first as following.

<c:set var="member_id" value="1" scope="session"/>

 <sql:param value="${${member_id}}"/>

 If EL supports nested description, this is graceful solution.

 Of course, it caused
javax.el.ELException: Failed to parse the expression [${${member_id}}]

 Regards,                Kazuaki Miyauchi, Japan

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@tomcat.apache.org
For additional commands, e-mail: taglibs-user-help@tomcat.apache.org


Mime
View raw message