在MyEclipse中创建jsp之后自动用MyEclipse JSP Editor:
1)依次点击:windows–>perferences–>general–>editors->file associations.
2)在“File type”列表框中找到jsp,点击后在下方的”Associated editors“窗口中显示当前用于jsp的编辑器.
3)选中“MyEclipse JSP Editor”.然后点击“default”按钮即可.
改变Eclipse或者MyEclipse新建jsp文件的默认编码:
window-preferences-General-WorkSpace,在右边的窗口Text file encoding中选Other右面的UTF-8.
window-preferences-General-ContentType 的右边窗口,改成utf-8.
window-preferences-myEclipse-files and editors-jsp里面有encoding,改这里为ISO10646/UTF-8.