• 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

bean:message with bean:write

 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I want to display the bean:write property according to I18N.
So I thought to write:

Will it work?
or what is the way to do it?
(I know which values I can get in subscription name property and declared all of them in I18N file.)
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

will it work?


*Did* it work?

I'm guessing no; that's not legal JSP--you can't nest tags like that. You might be able to use JSP 2 EL to do what you want, similar to:


Obviously this would only work in a 2+ container.
 
Jordan Smith
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the JSP 2 EL and what is container 2+?
Will it work with <%=subscription.name %> as well?
[ December 01, 2008: Message edited by: odelya yomtov-glick ]
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JSP 2 EL is the *E*xpression *L*anguage use in JSP 2.

JSP 2 is a JEE standard implemented by some application servers.

I don't know if you could use an rtexpr there; you might need to use the -rt version of the tag libraries. Personally I'd aim for the JSP 2 route first if your app server supports it.
reply
    Bookmark Topic Watch Topic
  • New Topic