In some versions of Eclipse and MyEclipse for Java EE, each double-click on a JSP file opens half a Web browser, half a page code editor,
and write code always very uncomfortable, automatically refresh the page editor.
The cursor that causes the code to be written will always jump automatically,
Always right-click a JSP file to select JSP Editor to open the Pure Code Editor.
In fact you can set Eclipse and MyEclipse JSP default open mode, select Window->prefences, and then search box input file, select File association, select JSP file, The following editor selects the JSP editor as the default, which solves the problem
In the same way that XML is opened by default, XML Editor is selected as the default, and each time it is opened as plain text in design.
"Javaweb" closes eclipse/myeclipse Web Page preview and sets the default editor for XML files