我在HTML页面中加入  <html>
  <head>
    <title>MyHtml.html</title>

    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
    <script type="text/javascript" src="/js/jscripts/tiny_mce/tiny_mce.js"></script>
   <script language="javascript" type="text/javascript">
   tinyMCE.init({
language : "zh_cn",
mode : "textareas",
theme : "advanced",
plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print,contextmenu",
theme_advanced_buttons1_add_before : "save,separator",
theme_advanced_buttons1_add : "fontselect,fontsizeselect",
theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor",
theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator",
theme_advanced_buttons3_add_before : "tablecontrols,separator",
theme_advanced_buttons3_add : "emotions,iespell,flash,advhr,separator,print",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_path_location : "bottom",
plugin_insertdate_dateFormat : "%Y-%m-%d",
plugin_insertdate_timeFormat : "%H:%M:%S",
extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
external_link_list_url : "example_data/example_link_list.js",
external_image_list_url : "example_data/example_image_list.js",
flash_external_list_url : "example_data/example_flash_list.js"
});
  </script>
  </head>
  
  <body>
    <textarea rows="20" cols="100"></textarea>
  </body>
</html>能够成功显示出来!
但是 我把这些代码放到JSP页面中时,却怎么也显示不出来! 这是为什么啊! 我没有改任何代码呀!!难道放进JSP页面要修改什么吗??? 求救!!!! 

解决方案 »

  1.   

    那当然了,jsp(java server page!)要运行环境的,不像html打开就能看
      

  2.   

    环境正常  服务器  成功启动   别的模块都能正常运行!  我想要一个在线编辑器来获取大文本域内容   我想使用TnyMCE在线编辑器 在一个JSP页面中写入了 以上代码,但是只显示一个大文本域 不能显示 TnyMCE在线编辑器   这是为什么啊!!   我看了它自带的 例子  是在HTML页面中的  我把代码复制到JSP中  可就是没显示!!!  为什么啊 !!