原文出处:http://www.cnblogs.com/likwo/archive/2012/05/04/2482298.html
XML
1.菜单:Window -> Preferences -> General -> Editors -> File Associations
2. File types: *.xml
Associated editors: XML Editor*** -> Default
在Associated editors选择框里点击“XML Editor*** ”,点击“Default”按钮。
看到“XML Editor*** ”排在最上面,其变为“XML Editor(Default)*** ”。
JSP
1.菜单:Window -> Preferences -> General -> Editors -> File Associations
2. File types: *.jsp
Associated editors: MyEclipse JSP Editor*** -> Default