在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.