Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

jstl tag library

Status
Not open for further replies.

jtranex0

Programmer
Jan 15, 2004
3
GB
hello iam practicing using the jstl with prefix c.

snippet code

<%String results = &quot;Hello&quot;; %>

// SQL syntax
<sql>
SELECT * FROM addressbook WHERE name LIKE <%=results%>
</sql>

I was wondering how i can call a java variable results in an sql taglibrary, so instead of the scriplet <%=results%>

How would to call this using jstl?

cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top