为什么ckeditor里的值取不出来

helloshihaiping 2011-09-08 10:43:21
这是ckeditor的jsp页面
<ckfinder:setupCKEditor editor="title" basePath="ckfinder/" />
<ckeditor:editor basePath="ckeditor/" editor="title" value="${xinWenZhongXin.title}"/>
这是获得数据的代码
String title = request.getParameter("title");
为什么title为空,没有获得数据呢?
...全文
242 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
Zeus 2011-09-08
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 helloshihaiping 的回复:]
引用 1 楼 yanjinye 的回复:
你是否用的是别人的编辑器啊!

String title = request.getParameter("title");
这个是name=“title” 才能获得的参数啊!

什么叫做别人的编辑器?editor="title" ,ckeditor没有name属性怎么办,那要怎么获得ckeditor里的值呢
[/Quote]这要看你是怎么加的ckeditor
helloshihaiping 2011-09-08
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 yanjinye 的回复:]
你是否用的是别人的编辑器啊!

String title = request.getParameter("title");
这个是name=“title” 才能获得的参数啊!
[/Quote]
什么叫做别人的编辑器?editor="title" ,ckeditor没有name属性怎么办,那要怎么获得ckeditor里的值呢
随风醉舞 2011-09-08
  • 打赏
  • 举报
回复
你是否用的是别人的编辑器啊!

String title = request.getParameter("title");
这个是name=“title” 才能获得的参数啊!
cocos-孤狼 2011-09-08
  • 打赏
  • 举报
回复
学习下,我也是这个问题一直没搞明白
helloshihaiping 2011-09-08
  • 打赏
  • 举报
回复
不明白你们是什么意思 有没有个大虾说清楚点啊

81,091

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧