How to convert String to Long in JSTL

HI guys

I am setting a property in a useBean
and I need to convert String to Long

I tried this but it doesn't work

<c:set target="${orderShippingModeList}" property="orderId" value="${Long.parseLong("orderObject")}"/>

Any help will be appreciated
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

Ajay-SinghConnect With a Mentor Commented:
> ${Long.parseLong("orderObject")}"
I belive this should be
huzefaqAuthor Commented:
thanks for pointing that out but now I get this error
Failed to find resource /tools/common/TimeOut

Any idea on this error
ManishConnect With a Mentor LeadCommented:
Are you using any resource file? setting bundle for fmt tag..?
All Courses

From novice to tech pro — start learning today.