Hello,
I have a simple code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%> <%@ taglib uri="http://ckeditor.com" prefix="ckeditor" %> <%@ taglib uri="http://ckfinder.com" prefix="ckfinder" %> <html xmlns="http://www.w3.org/1999/xhtml"> <body> <form action="getContent" method="get"> <textarea cols="80" id="editor1" name="editor1" rows="10"></textarea> <input type="submit" value="Submit" /> </form> <ckfinder:setupCKEditor basePath="../ckfinder/" editor="editor1" /> <ckeditor:replace replace="editor1" basePath="../ckeditor/" /> </body> </html>
Re: CKFinder + JAVA (jsp)
I recently had the same issue and traced the problem to the response generated by the ThumbnailCommand class. The response generated by this class includes a name parameter in the content-type header which doesn't appear to be supported by Tomcat 7.
To fix the problem, I updated the setResponseHeader() method of src/main/java/com/ckfinder/connector/handlers/command/ThumbnailCommand.java to the following:
Re: CKFinder + JAVA (jsp)
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
contentType="text/html;