Baidu's use of things is okay, that is, the document is too old. No nonsense. Configure the process.
This is the index. jsp code. The first two red lines introduce js.
<%
String path = request. getContextPath ();
String basePath = request. getScheme () + ": //" + request. getServerName () + ":" + request. getServerPort () + path + "/";
%>
<! Doctype html public "-// W3C // dtd html 4.01 Transitional // EN">
<Html>
<Head>
<Base href = "<% = basePath %>">
<Title> My JSP 'index. jsp 'starting page </title>
<Meta http-equiv = "pragma" content = "no-cache">
<Meta http-equiv = "cache-control" content = "no-cache">
<Meta http-equiv = "expires" content = "0">
<Meta http-equiv = "keywords" content = "keyword1, keyword2, keyword3">
<Meta http-equiv = "description" content = "This is my page">
<! --
<Link rel = "stylesheet" type = "text/css" href = "styles.css">
-->
<! -- <Link rel = "stylesheet" href = "ueditor/themes/default/dialogbase.css"/> -->
</Head>
<Body>
This is my JSP page. <br>
<! -- <Textarea name = "content" id = "myEditor"> write your initialization content here </textarea>
29 <script type = "text/javascript">
30 UE. getEditor ('myeditor ');
31 </script> -->
</Body>
View results
References: