I have 2 difference page directive codes in my jsp, i don't know what is the difference between contentType, charset, and pageEncoding, i read thru Oracle JSP Globalization Support but didn't understand quite well , can anyone explain the difference in simpler way?
<%@ page contentType="text/html;charset=GBK"%>
VERSUS
<%@page contentType="text/html;charset=GBK" pageEncoding="GBK"%>