http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Java/Integration
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="com.ckeditor.CKEditorConfig" %>
<%@ taglib uri="http://ckeditor.com" prefix="ckeditor" %>
<html>
<head>
<title>Simple jsp page</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<%
String value = "My first <strong>CKEditor</strong> Java tag";
String ckEditBasePath = "/shop/ckeditor/";
CKEditorConfig ckConfig = new CKEditorConfig();
ckConfig.addConfigValue("height", "400px");
ckConfig.addConfigValue("toolbar","[{name: 'document', items: ['Source', '-', 'NewPage']}, '/', {name: 'styles', items: ['Styles','Format']} ]");
%>
<ckeditor:editor editor="CKEditor1" basePath="<%=ckEditBasePath%>" value="<%=value%>" config="<%=ckConfig%>" />
</body>
</html>ckConfig.addConfigValue("toolbar","Basic");
Re: Custom toolbar (Java) example code doesn't work
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: Custom toolbar (Java) example code doesn't work
BTW, the latest WAR file for CKEditor for Java 3.6.1, (17 June 2011) contains ckeditor-java-core-3.5.3.jar.
So just to confirm, the correct versions to use are CKEditor V3.6.1 and JAR 3.5.3 ?
Re: Custom toolbar (Java) example code doesn't work
Yes, that's correct.
CKEditor JS changes much faster than its connector for JAVA.