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
huzefaqAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Ajay-SinghConnect With a Mentor Commented:
> ${Long.parseLong("orderObject")}"
 
I belive this should be
 
${Long.parseLong(orderObject)}"
0
 
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
0
 
ManishConnect With a Mentor LeadCommented:
Are you using any resource file? setting bundle for fmt tag..?
0
All Courses

From novice to tech pro — start learning today.