日期:2014-05-18  浏览次数:20669 次

?????????????jdk\demo\jfc下的文本编辑器如何嵌入jsp页面,嵌入后如何提交????????????
各位高手:小弟要做个网站后台管理系统,有一部分是关于html编辑的。我要请教的是:
1.如何将jdk\demo\jfc下的文本编辑器嵌入jsp页面?
2.嵌入页面后如何提交内容?
急啊!!!!!
谢谢

------解决方案--------------------
<iframe id= "ctl00_ContentPlaceHolder1_EntryEditor1_richTextEditor_richTextEditor___Frame " src= "/Editor/FCKeditor/editor/fckeditor.html?InstanceName=ctl00_ContentPlaceHolder1_EntryEditor1_richTextEditor_richTextEditor&amp;Toolbar=Default " width= "620px " height= "450px " frameborder= "no " scrolling= "no "> </iframe>

<input type= "submit " name= "ctl00$ContentPlaceHolder1$EntryEditor1$SaveButton " value= "发表文章 " onclick= "TempSave(ctl00_ContentPlaceHolder1_EntryEditor1_txbTitle,ctl00_ContentPlaceHolder1_EntryEditor1_richTextEditor,ctl00_ContentPlaceHolder1_EntryEditor1_txbExcerpt);WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ctl00$ContentPlaceHolder1$EntryEditor1$SaveButton&quot;, &quot;&quot;, true, &quot;&quot;, &quot;&quot;, false, false)) " id= "ctl00_ContentPlaceHolder1_EntryEditor1_SaveButton " class= "button " />


是不是这样啊,我也不是很清楚,说实在的我这是打开了人家csdn上的那个博客发表文章的那个地方考的html source,参考一下吧,等会,高手来了会给你一个满意的答复

------解决方案--------------------
兄弟,那个程序是JAVA应用程序,不是Applet,是不能嵌入在页面中的