Shilpa
Shilpa

Reputation: 98

Integration of CKEditor in Java

I am trying to integrate CKEditor in Netbeans to my simple web application. I did follow the documentation given in their official site, but cudnt install. It just shows a textarea instead of the editor. Is there any tutorial on how to integrate or can anyone help me on this?

Thanks, Shilpa

Upvotes: 0

Views: 3206

Answers (2)

SRy
SRy

Reputation: 2967

You just have get ckeditor folder from http://ckeditor.com and put it outside the WEB-INF folder.And keep the ckeditor jar file in WEB-INF/lib folder.If you use jsp page get the include this tag in your page <%@ taglib prefix="ckeditor" uri="http://ekeditor.com"%> and in the body section of the html page create one textarea and replace it with <ckeditor:replace parameters />.

If you want to write all the toolbars and events in java and get them into jsp page use script lets and import these libraries. <% import page="com.ckeditor.EventHandler"%>. If you want more examples on java refer here http://svn.ckeditor.com/CKEditor.Java. Hope this helps.

Upvotes: 0

user744587
user744587

Reputation:

it seems you are missing to load css & js files. please check again & tell me if css & js files is downloaded & working.

enter image description here

Upvotes: 1

Related Questions