wood burning stoves 2.0
The moose likes JSP and the fly likes String Concat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "String Concat" Watch "String Concat" New topic

String Concat

Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
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?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63349

<my:tag property='${a}${b}'/>

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: String Concat
It's not a secret anymore!