Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

String Concat

 
Alec Lee
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to pass a value to a tag attribute. The value is a string concatenation of 2 other string values in scoped attributes. Can this be done purely by scriptless solution (JSTL/Struts tag lib) without expression?

i.e.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65109
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<my:tag property='${a}${b}'/>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic