tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balakrishnan, Vijay" <VBalakrish...@newedgenetworks.com>
Subject convert String to Long
Date Wed, 21 Jan 2004 23:25:42 GMT
Hi,

I want to do the following in the jsp:scriplet using jstl:

<c:set var="itemIdA" value="currentPath.entityA.key" />
    <!--
    <jsp:scriptlet>
    try
    {
        Long tempLong = new
Long(((PathProxy)currentPath).getEntityA().getKey());
        pageContext.setAttribute("itemIdA", tempLong);
    }
-->
TIA,
Vijay

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


Mime
View raw message