jQuery in Action, 3rd edition
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
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: 63224

<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!