0

In the following code snippet c:out is not working.

<%!
String myVariable="This is working";
%>
myVariable=='<c:out value="${myVariable}"/>'
myVariable=='<%= myVariable%>'

Output

myVariable==''

myVariable=='This is working'

The output in c:out tag coming as empty.Could you explain the reason for this?

Community
  • 1
  • 1
apm
  • 525
  • 6
  • 19

0 Answers0