Solved

How to convert String to Long in JSTL

Posted on 2007-11-29
3
6,021 Views
Last Modified: 2013-11-24
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
0
Comment
Question by:huzefaq
3 Comments
 
LVL 23

Accepted Solution

by:
Ajay-Singh earned 200 total points
ID: 20376624
> ${Long.parseLong("orderObject")}"
 
I belive this should be
 
${Long.parseLong(orderObject)}"
0
 

Author Comment

by:huzefaq
ID: 20377090
thanks for pointing that out but now I get this error
Failed to find resource /tools/common/TimeOut

Any idea on this error
0
 
LVL 11

Assisted Solution

by:Manish
Manish earned 50 total points
ID: 20379948
Are you using any resource file? setting bundle for fmt tag..?
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Multiple issues with Java 14 42
fizzArray3  challenge 1 68
commonTwo  challenge 63 101
word0 challenge 3 58
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now