[ACCEPTED]-echo instruction in jsp-jstl
Accepted answer
You can do like this:
out.print("whatever you want to echo");
also:
<c:out value="${variableName}" />
where variableNmae
would 1 the value you want to output.
Hope that helps.
<%="Hello Word"%>
Or even better
<c:out value="hello World"/>
0
Let say we have 'some' variable:
String some = "Hello World";
Lets then 1 print it on html as follow:
<%
out.print("<h1>"+some+"</h1>");
%>
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.