hello what is the difference between
<%+i%>
and ${i}
,
<% %>
is a jsp scriptlet – you can write java code there
<%= %>
is a jsp expression – you can put there java statements without a semicolon they will be printed on the page.
${}
is an EL expression – you can use these instead of jsp expressions (actualy using EL is recommended)
As a small example: <%=request.getAttribute("query") %>
is the same like ${query}