Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

bean:message with bean:write

 
Jordan Smith
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • 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.)
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • 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
  • 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
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic