hello iam practicing using the jstl with prefix c.
snippet code
<%String results = "Hello"; %>
// 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
snippet code
<%String results = "Hello"; %>
// 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