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
Difference b/w '%{x}", "${x}", "%{#x}"
Rachel Kumar
Ranch Hand
Posts: 51
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Please can anyone tell me the difference between:
1.%{xURL},
2.${y.id},
3.%{#attr.y.status}.
eg1: <s:a href="%{xURL}">${y.id} </s:a>
eg2:<s:text name="%{#attr.y.status}" />
Nishan Patel
Ranch Hand
Posts: 689
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
1.%{xURL} is used for take a value from current list value which is set to Action class.
2.${y.id} is JSTL tag for value.
3.%{#attr.y.status} is used for when you want to take the value for OGNL value stack.
Thanks,
Nishan Patel.
Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD
Java Developer
,
My Blog
Rachel Kumar
Ranch Hand
Posts: 51
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Ok then how to differentiate, i mean like which one to use when?...
I am sorry if this is wrong question,as i am new to this
Nishan Patel
Ranch Hand
Posts: 689
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi,
That is depend on you where to use it.
All of three are use in
Jsp
page.
${y.id} is JSTL tag which is sun product.
and
%{xURL} and %{#attr.y.status} both are
Struts
2.0 tag.
Thanks,
Nishan Patel.
Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD
Java Developer
,
My Blog
Rachel Kumar
Ranch Hand
Posts: 51
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
if you are familiar with the struts tags plese can you help me out in My post "Highlight table row on Return Press".
I know the logic but i am not sure of the implemenation.
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Modal dialog for a popup
url tag
Adding attributes
Help me format this tag
struts2 properties file reload
More...