File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Certification
»
Web Component Certification (SCWCD/OCPJWCD)
Author
EL expression
Surajsingh Thakur
Ranch Hand
Joined: Sep 09, 2008
Posts: 124
I like...
posted
Sep 16, 2008 00:30:00
0
if in jsp i want to print a number can i print it like this..
${12345}
BE (Computer Science) SCJP 4 (80%) SCWCD 5 (97%) IBM CAD(98%) IBM CAppD(100%) IBM SD(100%)
Sarat Koduri
Ranch Hand
Joined: Jul 08, 2008
Posts: 83
posted
Sep 16, 2008 00:45:00
0
i guess you need to put quotes around the number inside the braces. dont you?.
${"12345"}
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14672
11
I like...
posted
Sep 16, 2008 00:54:00
0
i guess you need to put quotes around the number inside the braces. dont you?.
No need for quotes if the value is in the range of a Long. Otherwise yes, you'll need the double quotes to make it a
String
.
[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: EL expression
Similar Threads
Doubt on Expression Language
SCMAD Exam Notes
Bar Code Generation API from SUN
How setDaemon works
using string value as a variable name
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter