一:设置JSP默认编码格式 window--->preferences--->myeclipse----->Files and Editors---->JSP 在右侧的Encoding(编码格式)下拉列表中选择适当的编码。