Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

set a jsp:include param value to a custom tag result  RSS feed

Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks, I'm trying to send some data to an include file via it's param property from the results of a custom tag, like this:

<jsp:include page="sortIcon.jsp" flush="true">
<jsp aram name="showsort" value="<tdm:getSortIconVisibility name="tdmresponse" property="title" />" />

This line gives an error in my IDE stating that it's expecting an "=" sign. So, I'm resorting to creating a scriptlet at the top and mimicing the tag's functionality in there. I would really like to avoid placing code in the jsp file, does anybody have any suggestions what to do here? I also, just for kicks, escaped all the quotes in the line. The IDE liked it but the JSP engine read the line as a string literal.
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!