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 Rhinorhino 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
Joined
Jan 15, 2004
Messages
3
Location
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