Why we do not put semicolon in the expression tag?

The expression we declare in the JSP goes into an argument of println(). So if we put semicolon after expression,
<%=x;%>
that mean
out.println(x;); - it never compiles

No comments:

Post a Comment