You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Balakrishnan, Vijay" <VB...@newedgenetworks.com> on 2004/01/22 22:32:07 UTC
convert String to Long
Hi,
I want to code a conversion of String to Long as done 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);
}
How would i do that in jstl ?
TIA,
Vijay
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org