解决jsp异常:Page directive: illegal to have multiple occurrences of contentType with different values 异常问题: 异常原因: 因为jsp包含页面与被包含页面的@page指令里面的contentType不一致,导致服务器识别时出现异常!所以最好都写成“无空格”形式。