Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
How to compare a Short with 1 in OGNL (Struts 2)
Andrei Antonescu
Ranch Hand
Posts: 75
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello,
I would like to write in OGNL smth like this:
<s:if test="y==1"> ... </s:if>
where y is of type "Short". Writing it in that form (y==1) doesn't seem to work.
Can you please help me?
Thanks in advance.
Richard Golebiowski
Ranch Hand
Posts: 213
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
It should. Do you have a getter?
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Null Point Exception
How to access static fields using OGNL in Struts 2
OGNL fixing precedence with ()
OGNL if test throws null stacktrace error
struts $ and % difference
More...