You've missed a semi-colon AND = here:
contentType="text/html charset-UTF-8"
Should be:
contentType="text/html; charset=UTF-8"
Question
<% page language="java" contentType="text/html charset-UTF-8" pageEncoding="UTF-8" %>
I have this statement before starting my HTML part. I followed this from a book but when I tried it, it's showing error. How can this be resolved?
Solution
You've missed a semi-colon AND = here:
contentType="text/html charset-UTF-8"
Should be:
contentType="text/html; charset=UTF-8"