File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Joined: Jan 28, 2004
Oct 19, 2006 09:02:00
I want to pass a value to a tag attribute. The value is a
concatenation of 2 other string values in scoped attributes. Can this be done purely by scriptless solution (JSTL/Struts tag lib) without expression?
<% request.setAttribute("a","12"); request.setAttribute("b","34"); %> <my:tag property='<%=(String)request.getAttribute("a") + (String)request.getAttribute("b")%>'/>
Author and ninkuma
Joined: Jan 10, 2002
Oct 19, 2006 09:50:00
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: String Concat
Attributes sent from JSP wont show in Servlet
what is target in c:target??
Setting attributes from JSP to Servlet
Help reqd. in displaying results
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014