[ACCEPTED]-echo instruction in jsp-jstl

Accepted answer
Score: 18

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.

Score: 12
<%="Hello Word"%>

Or even better

 <c:out value="hello World"/>


Score: 4

Let say we have 'some' variable:

String some = "Hello World";

Lets then 1 print it on html as follow:


More Related questions