aspose file tools*
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: 60057

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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: String Concat
Similar Threads
Confirmation required
Attributes sent from JSP wont show in Servlet
Setting attributes from JSP to Servlet
what is target in c:target??
Help reqd. in displaying results