Index: /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/ConfigurationHandler.java
===================================================================
--- /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/ConfigurationHandler.java	(revision 1294)
+++ /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/ConfigurationHandler.java	(revision 1295)
@@ -22,21 +22,23 @@
 
 /**
- * Static handler object, which provides getters and setters for basic values
- * like fckeditor dir, base dir (user dir) and defaults for height, width and
- * toolbar of the editor. All values are preset by the defaults defined in
- * default.properties. This object is used everywhere these values are needed.
- * <br />
- * If the {@link IBaseDirProvider} is set, {@link #getBaseDir()} is calling
- * {@link IBaseDirProvider#getDir()} to get the user dir.
+ * Static handler object, which provides getters and setters for basic values like fckeditor dir, base dir (user dir)
+ * and defaults for height, width and toolbar of the editor. All values are preset by the defaults defined in
+ * default.properties. This object is used everywhere these values are needed. <br />
+ * If the {@link IBaseDirProvider} is set, {@link #getBaseDir()} is calling {@link IBaseDirProvider#getDir()} to get the
+ * user dir.
  * 
- * @version $Id:ConfigurationHandler.java 1099 2007-11-06 15:01:50Z th-schwarz $
- * @author <a href="mailto:th-schwarz@users.sourceforge.net">Thilo Schwarz</a>
+ * @version $Id:ConfigurationHandler.java 1099 2007-11-06 15:01:50Z th-schwarz $´
  */
 public class ConfigurationHandler {
     private static String baseDir;
+
     private static IBaseDirProvider baseDirProvider = null;
+
     private static String fckEditorDir;
+
     private static String fckEditorHeight;
+
     private static String fckEditorWidth;
+
     private static String fckEditorToolbarSet;
 
@@ -47,6 +49,5 @@
 	fckEditorWidth = DefaultPropertiesHolder.get("fckeditor.width");
 	fckEditorHeight = DefaultPropertiesHolder.get("fckeditor.height");
-	fckEditorToolbarSet = DefaultPropertiesHolder
-		.get("fckeditor.toolbarset");
+	fckEditorToolbarSet = DefaultPropertiesHolder.get("fckeditor.toolbarset");
     }
 
@@ -54,6 +55,5 @@
      * Getter for the base dir (using for user files).
      * 
-     * @return If the {@link IBaseDirProvider} is set, then it's dir getter is
-     *         called, or base dir.
+     * @return If the {@link IBaseDirProvider} is set, then it's dir getter is called, or base dir.
      */
     public static String getBaseDir() {
@@ -64,5 +64,6 @@
      * Setter for the base dir (using for user files).
      * 
-     * @param baseDir relative to the context root (no leading or ending /).
+     * @param baseDir
+     *                relative to the context root (no leading or ending /).
      */
     public static void setBaseDir(final String baseDir) {
@@ -81,5 +82,5 @@
     /**
      * Getter for the dir of the fckeditor.
-     *  
+     * 
      * @return Dir of the fckeditor relative to the context root.
      */
@@ -90,6 +91,7 @@
     /**
      * Setter for the dir of the fckeditor.
-     *  
-     * @param fckEditorDir relative to the context root (no leading or ending /).
+     * 
+     * @param fckEditorDir
+     *                relative to the context root (no leading or ending /).
      */
     public static void setFckEditorDir(final String fckEditorDir) {
@@ -109,5 +111,6 @@
      * Setter for the default height of the fckeditor.
      * 
-     * @param fckEditorHeight the default height of the fckeditor.
+     * @param fckEditorHeight
+     *                the default height of the fckeditor.
      */
     public static void setFckEditorHeight(final String fckEditorHeight) {
@@ -127,5 +130,6 @@
      * Setter for the default width of the fckeditor.
      * 
-     * @param fckEditorWidth the default width of the fckeditor.
+     * @param fckEditorWidth
+     *                the default width of the fckeditor.
      */
     public static void setFckEditorWidth(final String fckEditorWidth) {
@@ -145,5 +149,6 @@
      * Getter of the name of the default toolbarset of the fckeditor.
      * 
-     * @param fckEditorToolbarSet the name of the toolbarset.
+     * @param fckEditorToolbarSet
+     *                the name of the toolbarset.
      */
     public static void setFckEditorToolbarSet(final String fckEditorToolbarSet) {
Index: /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/Constants.java
===================================================================
--- /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/Constants.java	(revision 1294)
+++ /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/Constants.java	(revision 1295)
@@ -25,9 +25,8 @@
  *
  * @version $Id$
- * @author <a href="mailto:th-schwarz@users.sourceforge.net">Thilo Schwarz</a>
  */
 public class Constants {
 	
-	/* File type constants has to be lowercased, because there are used to construct directories. */
+    /* File type constants has to be lowercased, because there are used to construct directories. */
     public static final String FILE_TYPE_FILE = "file";
     public static final String FILE_TYPE_IMAGE = "image";
Index: /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/DefaultPropertiesHolder.java
===================================================================
--- /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/DefaultPropertiesHolder.java	(revision 1294)
+++ /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/DefaultPropertiesHolder.java	(revision 1295)
@@ -31,7 +31,5 @@
  * setter methode you can overwrite defaults or set new one.
  * 
- * @version $Id: DefaultPropertiesHolder.java 1047 2007-10-28 19:20:01 +0000
- *          (So, 28 Okt 2007) th-schwarz $
- * @author <a href="mailto:th-schwarz@users.sourceforge.net">Thilo Schwarz</a>
+ * @version $Id$
  */
 public class DefaultPropertiesHolder {
Index: /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/ExtensionsHandler.java
===================================================================
--- /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/ExtensionsHandler.java	(revision 1294)
+++ /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/ExtensionsHandler.java	(revision 1295)
@@ -32,6 +32,5 @@
  * default.properties.
  * 
- * @version $Id: ExtensionsHandler.java 1184 2008-01-03 10:39:36Z th-schwarz $
- * @author <a href="mailto:th-schwarz@users.sourceforge.net">Thilo Schwarz</a>
+ * @version $Id$
  */
 public class ExtensionsHandler {
Index: /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/FCKeditor.java
===================================================================
--- /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/FCKeditor.java	(revision 1294)
+++ /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/FCKeditor.java	(revision 1295)
@@ -31,7 +31,5 @@
  * configurations passed by the developer.
  * 
- * @version $Id: FCKeditor.java 1202 2008-01-05 09:26:27Z th-schwarz $
- * @author Simone Chiaretta (simo@users.sourceforge.net)
- * @author <a href="mailto:th-schwarz@users.sourceforge.net">Thilo Schwarz</a>
+ * @version $Id$
  */
 public class FCKeditor {
Index: /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/FCKeditorConfigurations.java
===================================================================
--- /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/FCKeditorConfigurations.java	(revision 1294)
+++ /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/FCKeditorConfigurations.java	(revision 1295)
@@ -32,5 +32,5 @@
  * the config.js file.
  * 
- * @author Simone Chiaretta (simo@users.sourceforge.net)
+ * @version $Id$
  */
 public class FCKeditorConfigurations extends HashMap {
Index: /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/IBaseDirProvider.java
===================================================================
--- /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/IBaseDirProvider.java	(revision 1294)
+++ /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/IBaseDirProvider.java	(revision 1295)
@@ -27,5 +27,4 @@
  * 
  * @version $Id:IBaseDirProvider.java 1099 2007-11-06 15:01:50Z th-schwarz $
- * @author <a href="mailto:th-schwarz@users.sourceforge.net">Thilo Schwarz</a>
  */
 public interface IBaseDirProvider {
Index: /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/connector/ConnectorServlet.java
===================================================================
--- /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/connector/ConnectorServlet.java	(revision 1294)
+++ /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/connector/ConnectorServlet.java	(revision 1295)
@@ -59,285 +59,268 @@
  * Servlet to upload and browse files.<br>
  * 
- * This servlet accepts 4 commands used to retrieve and create files and folders
- * from a server directory. The allowed commands are:
+ * This servlet accepts 4 commands used to retrieve and create files and folders from a server directory. The allowed
+ * commands are:
  * <ul>
  * <li>GetFolders: Retrive the list of directory under the current folder
- * <li>GetFoldersAndFiles: Retrive the list of files and directory under the
- * current folder
+ * <li>GetFoldersAndFiles: Retrive the list of files and directory under the current folder
  * <li>CreateFolder: Create a new directory under the current folder
  * <li>FileUpload: Send a new file to the server (must be sent with a POST)
  * </ul>
  * 
- * @version $Id: ConnectorServlet.java 1184 2008-01-03 10:39:36Z th-schwarz $
- * @author Simone Chiaretta (simo@users.sourceforge.net)
- * @author <a href="mailto:th-schwarz@users.sourceforge.net">Thilo Schwarz</a>
+ * @version $Id$
  */
 public class ConnectorServlet extends HttpServlet {
 
-	private static final long serialVersionUID = -5742008970929377161L;
-
-	// private static boolean debug = false;
-
-	/**
-	 * Initialize the servlet.<br>
-	 * Retrieve from the servlet configuration the "baseDir" which is the root
-	 * of the file repository.
-	 */
-	public void init() throws ServletException {
-
-		if (getInitParameter("baseDir") != null)
-			ConfigurationHandler.setBaseDir(getInitParameter("baseDir"));
-		// debug = Boolean.getBoolean(getInitParameter("debug"));
-		String realBaseDir = getServletContext().getRealPath(
-				ConfigurationHandler.getBaseDir());
-		File baseFile = new File(realBaseDir);
-		if (!baseFile.exists()) {
-			baseFile.mkdirs();
+    private static final long serialVersionUID = -5742008970929377161L;
+
+    // private static boolean debug = false;
+
+    /**
+     * Initialize the servlet.<br>
+     * Retrieve from the servlet configuration the "baseDir" which is the root of the file repository.
+     */
+    public void init() throws ServletException {
+
+	if (getInitParameter("baseDir") != null)
+	    ConfigurationHandler.setBaseDir(getInitParameter("baseDir"));
+	// debug = Boolean.getBoolean(getInitParameter("debug"));
+	String realBaseDir = getServletContext().getRealPath(ConfigurationHandler.getBaseDir());
+	File baseFile = new File(realBaseDir);
+	if (!baseFile.exists()) {
+	    baseFile.mkdirs();
+	}
+	/*
+	 * if (debug) System.out.println("--- Connector Servlet initialized ---");
+	 */
+    }
+
+    /**
+     * Manage the Get requests (GetFolders, GetFoldersAndFiles, CreateFolder).<br>
+     * 
+     * The servlet accepts commands sent in the following format:<br>
+     * connector?Command=CommandName&Type=ResourceType&CurrentFolder=FolderPath<br>
+     * <br>
+     * It execute the command and then return the results to the client in XML format.
+     * 
+     */
+    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
+	/*
+	 * if (debug) System.out.println("--- BEGIN DOGET ---");
+	 */
+	response.setCharacterEncoding("UTF-8");
+	response.setContentType("application/xml; charset=UTF-8");
+	response.setHeader("Cache-Control", "no-cache");
+	PrintWriter out = response.getWriter();
+
+	String commandStr = request.getParameter("Command");
+	String typeStr = request.getParameter("Type");
+	String currentFolderStr = request.getParameter("CurrentFolder");
+
+	// TODO untersuchen wie es vom Res Browser kommt
+	String currentPath = ConfigurationHandler.getBaseDir() + "/" + typeStr + currentFolderStr;
+	currentPath = Utils.replaceAll(currentPath, "//", "/");
+	String currentDirPath = getServletContext().getRealPath(currentPath);
+
+	File currentDir = new File(currentDirPath);
+	if (!currentDir.exists()) {
+	    currentDir.mkdir();
+	}
+
+	Document document = null;
+	try {
+	    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+	    DocumentBuilder builder = factory.newDocumentBuilder();
+	    document = builder.newDocument();
+	} catch (ParserConfigurationException pce) {
+	    // TODO muss mit logger gefagen werden
+	    // pce.printStackTrace();
+	}
+
+	Node root = CreateCommonXml(document, commandStr, typeStr, currentFolderStr, request.getContextPath()
+		+ currentPath);
+	/*
+	 * if (debug) System.out.println("Command = " + commandStr);
+	 */
+	if (commandStr.equals("GetFolders")) {
+	    getFolders(currentDir, root, document);
+	} else if (commandStr.equals("GetFoldersAndFiles")) {
+	    getFolders(currentDir, root, document);
+	    getFiles(currentDir, root, document);
+	} else if (commandStr.equals("CreateFolder")) {
+	    String newFolderStr = request.getParameter("NewFolderName");
+	    File newFolder = new File(currentDir, newFolderStr);
+	    String retValue = "110";
+
+	    if (newFolder.exists()) {
+		retValue = "101";
+	    } else {
+		try {
+		    boolean dirCreated = newFolder.mkdir();
+		    if (dirCreated)
+			retValue = "0";
+		    else
+			retValue = "102";
+		} catch (SecurityException sex) {
+		    retValue = "103";
 		}
-		/*
-		 * if (debug) System.out.println("--- Connector Servlet initialized
-		 * ---");
-		 */
-	}
-
-	/**
-	 * Manage the Get requests (GetFolders, GetFoldersAndFiles, CreateFolder).<br>
+
+	    }
+	    setCreateFolderResponse(retValue, root, document);
+	}
+
+	document.getDocumentElement().normalize();
+	try {
+	    TransformerFactory tFactory = TransformerFactory.newInstance();
+	    Transformer transformer = tFactory.newTransformer();
+
+	    DOMSource source = new DOMSource(document);
+
+	    StreamResult result = new StreamResult(out);
+	    transformer.transform(source, result);
+	    /*
+	     * if (debug) { StreamResult dbgResult = new StreamResult(System.out); transformer.transform(source,
+	     * dbgResult); System.out.println(""); System.out.println("--- END DOGET ---"); }
+	     */
+	} catch (Exception ex) {
+	    // TODO muss mit logger gefagen werden
+	    // ex.printStackTrace();
+	}
+
+	out.flush();
+	out.close();
+    }
+
+    /**
+     * Manage the Post requests (FileUpload).<br>
+     * 
+     * The servlet accepts commands sent in the following format:<br>
+     * connector?Command=FileUpload&Type=ResourceType&CurrentFolder=FolderPath<br>
+     * <br>
+     * It store the file (renaming it in case a file with the same name exists) and then return an HTML file with a
+     * javascript command in it.
+     * 
+     */
+    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
+
+	/*
+	 * if (debug) System.out.println("--- BEGIN DOPOST ---");
+	 */
+
+	response.setCharacterEncoding("UTF-8");
+	response.setContentType("text/html; charset=UTF-8");
+	response.setHeader("Cache-Control", "no-cache");
+	PrintWriter out = response.getWriter();
+
+	String commandStr = request.getParameter("Command");
+	String typeStr = request.getParameter("Type");
+	String currentFolderStr = request.getParameter("CurrentFolder");
+
+	String currentPath = ConfigurationHandler.getBaseDir() + "/" + typeStr + currentFolderStr;
+	currentPath = Utils.replaceAll(currentPath, "//", "/");
+	String currentDirPath = getServletContext().getRealPath(currentPath);
+
+	/*
 	 * 
-	 * The servlet accepts commands sent in the following format:<br>
-	 * connector?Command=CommandName&Type=ResourceType&CurrentFolder=FolderPath<br>
-	 * <br>
-	 * It execute the command and then return the results to the client in XML
-	 * format.
-	 * 
-	 */
-	public void doGet(HttpServletRequest request, HttpServletResponse response)
-			throws ServletException, IOException {
-		/*
-		 * if (debug) System.out.println("--- BEGIN DOGET ---");
-		 */
-		response.setCharacterEncoding("UTF-8");
-		response.setContentType("application/xml; charset=UTF-8");
-		response.setHeader("Cache-Control", "no-cache");
-		PrintWriter out = response.getWriter();
-
-		String commandStr = request.getParameter("Command");
-		String typeStr = request.getParameter("Type");
-		String currentFolderStr = request.getParameter("CurrentFolder");
-
-		// TODO untersuchen wie es vom Res Browser kommt
-		String currentPath = ConfigurationHandler.getBaseDir() + "/" + typeStr
-				+ currentFolderStr;
-		currentPath = Utils.replaceAll(currentPath, "//", "/");
-		String currentDirPath = getServletContext().getRealPath(currentPath);
-
-		File currentDir = new File(currentDirPath);
-		if (!currentDir.exists()) {
-			currentDir.mkdir();
+	 * if (debug) System.out.println(currentDirPath);
+	 */
+	String retVal = "0";
+	String newName = "";
+
+	if (!commandStr.equals("FileUpload"))
+	    retVal = "203";
+	else {
+	    FileItemFactory factory = new DiskFileItemFactory();
+	    ServletFileUpload upload = new ServletFileUpload(factory);
+	    try {
+		List items = upload.parseRequest(request);
+
+		Map fields = new HashMap();
+
+		Iterator iter = items.iterator();
+		while (iter.hasNext()) {
+		    FileItem item = (FileItem) iter.next();
+		    if (item.isFormField())
+			fields.put(item.getFieldName(), item.getString());
+		    else
+			fields.put(item.getFieldName(), item);
 		}
-
-		Document document = null;
-		try {
-			DocumentBuilderFactory factory = DocumentBuilderFactory
-					.newInstance();
-			DocumentBuilder builder = factory.newDocumentBuilder();
-			document = builder.newDocument();
-		} catch (ParserConfigurationException pce) {
-			// TODO muss mit logger gefagen werden
-			// pce.printStackTrace();
+		FileItem uplFile = (FileItem) fields.get("NewFile");
+		String fileNameLong = uplFile.getName();
+		fileNameLong = fileNameLong.replace('\\', '/');
+		String[] pathParts = fileNameLong.split("/");
+		String filename = pathParts[pathParts.length - 1];
+
+		String baseName = FilenameUtils.getBaseName(filename);// Utils.getNameWithoutExtension(filename);
+		String ext = FilenameUtils.getExtension(filename); // Utils.getExtension(fileName);
+		File pathToSave = new File(currentDirPath, filename);
+		int counter = 1;
+		while (pathToSave.exists()) {
+		    newName = baseName + "(" + counter + ")" + "." + ext;
+		    retVal = "201";
+		    pathToSave = new File(currentDirPath, newName);
+		    counter++;
 		}
-
-		Node root = CreateCommonXml(document, commandStr, typeStr,
-				currentFolderStr, request.getContextPath() + currentPath);
-		/*
-		 * if (debug) System.out.println("Command = " + commandStr);
-		 */
-		if (commandStr.equals("GetFolders")) {
-			getFolders(currentDir, root, document);
-		} else if (commandStr.equals("GetFoldersAndFiles")) {
-			getFolders(currentDir, root, document);
-			getFiles(currentDir, root, document);
-		} else if (commandStr.equals("CreateFolder")) {
-			String newFolderStr = request.getParameter("NewFolderName");
-			File newFolder = new File(currentDir, newFolderStr);
-			String retValue = "110";
-
-			if (newFolder.exists()) {
-				retValue = "101";
-			} else {
-				try {
-					boolean dirCreated = newFolder.mkdir();
-					if (dirCreated)
-						retValue = "0";
-					else
-						retValue = "102";
-				} catch (SecurityException sex) {
-					retValue = "103";
-				}
-
-			}
-			setCreateFolderResponse(retValue, root, document);
-		}
-
-		document.getDocumentElement().normalize();
-		try {
-			TransformerFactory tFactory = TransformerFactory.newInstance();
-			Transformer transformer = tFactory.newTransformer();
-
-			DOMSource source = new DOMSource(document);
-
-			StreamResult result = new StreamResult(out);
-			transformer.transform(source, result);
-			/*
-			 * if (debug) { StreamResult dbgResult = new
-			 * StreamResult(System.out); transformer.transform(source,
-			 * dbgResult); System.out.println(""); System.out.println("--- END
-			 * DOGET ---"); }
-			 */
-		} catch (Exception ex) {
-			// TODO muss mit logger gefagen werden
-			// ex.printStackTrace();
-		}
-
-		out.flush();
-		out.close();
-	}
-
-	/**
-	 * Manage the Post requests (FileUpload).<br>
-	 * 
-	 * The servlet accepts commands sent in the following format:<br>
-	 * connector?Command=FileUpload&Type=ResourceType&CurrentFolder=FolderPath<br>
-	 * <br>
-	 * It store the file (renaming it in case a file with the same name exists)
-	 * and then return an HTML file with a javascript command in it.
-	 * 
-	 */
-	public void doPost(HttpServletRequest request, HttpServletResponse response)
-			throws ServletException, IOException {
-
-		/*
-		 * if (debug) System.out.println("--- BEGIN DOPOST ---");
-		 */
-
-		response.setCharacterEncoding("UTF-8");
-		response.setContentType("text/html; charset=UTF-8");
-		response.setHeader("Cache-Control", "no-cache");
-		PrintWriter out = response.getWriter();
-
-		String commandStr = request.getParameter("Command");
-		String typeStr = request.getParameter("Type");
-		String currentFolderStr = request.getParameter("CurrentFolder");
-
-		String currentPath = ConfigurationHandler.getBaseDir() + "/" + typeStr
-				+ currentFolderStr;
-		currentPath = Utils.replaceAll(currentPath, "//", "/");
-		String currentDirPath = getServletContext().getRealPath(currentPath);
-
-		/*
-		 * 
-		 * if (debug) System.out.println(currentDirPath);
-		 */
-		String retVal = "0";
-		String newName = "";
-
-		if (!commandStr.equals("FileUpload"))
-			retVal = "203";
-		else {
-			FileItemFactory factory = new DiskFileItemFactory();
-			ServletFileUpload upload = new ServletFileUpload(factory);
-			try {
-				List items = upload.parseRequest(request);
-
-				Map fields = new HashMap();
-
-				Iterator iter = items.iterator();
-				while (iter.hasNext()) {
-					FileItem item = (FileItem) iter.next();
-					if (item.isFormField())
-						fields.put(item.getFieldName(), item.getString());
-					else
-						fields.put(item.getFieldName(), item);
-				}
-				FileItem uplFile = (FileItem) fields.get("NewFile");
-				String fileNameLong = uplFile.getName();
-				fileNameLong = fileNameLong.replace('\\', '/');
-				String[] pathParts = fileNameLong.split("/");
-				String filename = pathParts[pathParts.length - 1];
-
-				String baseName = FilenameUtils.getBaseName(filename);//Utils.getNameWithoutExtension(filename);
-				String ext = FilenameUtils.getExtension(filename); //Utils.getExtension(fileName);
-				File pathToSave = new File(currentDirPath, filename);
-				int counter = 1;
-				while (pathToSave.exists()) {
-					newName = baseName + "(" + counter + ")" + "." + ext;
-					retVal = "201";
-					pathToSave = new File(currentDirPath, newName);
-					counter++;
-				}
-				uplFile.write(pathToSave);
-			} catch (Exception ex) {
-				retVal = "203";
-			}
-
-		}
-
-		out.println("<script type=\"text/javascript\">");
-		out.println("window.parent.frames['frmUpload'].OnUploadCompleted("
-				+ retVal + ",'" + newName + "');");
-		out.println("</script>");
-		out.flush();
-		out.close();
-		/*
-		 * if (debug) System.out.println("--- END DOPOST ---");
-		 */
-	}
-
-	private void setCreateFolderResponse(String retValue, Node root,
-			Document doc) {
-		Element myEl = doc.createElement("Error");
-		myEl.setAttribute("number", retValue);
-		root.appendChild(myEl);
-	}
-
-	private void getFolders(File dir, Node root, Document doc) {
-		Element folders = doc.createElement("Folders");
-		root.appendChild(folders);
-		File[] fileList = dir.listFiles((FileFilter) DirectoryFileFilter.DIRECTORY);
-		for (File file : fileList) {
-			Element myEl = doc.createElement("Folder");
-			myEl.setAttribute("name", file.getName());
-			folders.appendChild(myEl);
-		}
-	}
-
-	private void getFiles(File dir, Node root, Document doc) {
-		Element files = doc.createElement("Files");
-		root.appendChild(files);
-		File[] fileList = dir.listFiles((FileFilter) FileFileFilter.FILE);
-		
-		for (File file : fileList) {
-			Element myEl = doc.createElement("File");
-			myEl.setAttribute("name", file.getName());
-			myEl.setAttribute("size", String.valueOf(file.length()/1024));
-			files.appendChild(myEl);
-		}
-	}
-
-	private Node CreateCommonXml(Document doc, String commandStr,
-			String typeStr, String currentPath, String currentUrl) {
-
-		Element root = doc.createElement("Connector");
-		doc.appendChild(root);
-		root.setAttribute("command", commandStr);
-		root.setAttribute("resourceType", typeStr);
-
-		Element myEl = doc.createElement("CurrentFolder");
-		myEl.setAttribute("path", currentPath);
-		myEl.setAttribute("url", currentUrl);
-		root.appendChild(myEl);
-
-		return root;
-
-	}
+		uplFile.write(pathToSave);
+	    } catch (Exception ex) {
+		retVal = "203";
+	    }
+
+	}
+
+	out.println("<script type=\"text/javascript\">");
+	out.println("window.parent.frames['frmUpload'].OnUploadCompleted(" + retVal + ",'" + newName + "');");
+	out.println("</script>");
+	out.flush();
+	out.close();
+	/*
+	 * if (debug) System.out.println("--- END DOPOST ---");
+	 */
+    }
+
+    private void setCreateFolderResponse(String retValue, Node root, Document doc) {
+	Element myEl = doc.createElement("Error");
+	myEl.setAttribute("number", retValue);
+	root.appendChild(myEl);
+    }
+
+    private void getFolders(File dir, Node root, Document doc) {
+	Element folders = doc.createElement("Folders");
+	root.appendChild(folders);
+	File[] fileList = dir.listFiles((FileFilter) DirectoryFileFilter.DIRECTORY);
+	for (File file : fileList) {
+	    Element myEl = doc.createElement("Folder");
+	    myEl.setAttribute("name", file.getName());
+	    folders.appendChild(myEl);
+	}
+    }
+
+    private void getFiles(File dir, Node root, Document doc) {
+	Element files = doc.createElement("Files");
+	root.appendChild(files);
+	File[] fileList = dir.listFiles((FileFilter) FileFileFilter.FILE);
+
+	for (File file : fileList) {
+	    Element myEl = doc.createElement("File");
+	    myEl.setAttribute("name", file.getName());
+	    myEl.setAttribute("size", String.valueOf(file.length() / 1024));
+	    files.appendChild(myEl);
+	}
+    }
+
+    private Node CreateCommonXml(Document doc, String commandStr, String typeStr, String currentPath, String currentUrl) {
+
+	Element root = doc.createElement("Connector");
+	doc.appendChild(root);
+	root.setAttribute("command", commandStr);
+	root.setAttribute("resourceType", typeStr);
+
+	Element myEl = doc.createElement("CurrentFolder");
+	myEl.setAttribute("path", currentPath);
+	myEl.setAttribute("url", currentUrl);
+	root.appendChild(myEl);
+
+	return root;
+
+    }
 
 }
Index: /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/connector/package.html
===================================================================
--- /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/connector/package.html	(revision 1294)
+++ /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/connector/package.html	(revision 1295)
@@ -1,40 +1,27 @@
 <!--
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003-2005 Frederico Caldeira Knabben
- * 
- * Licensed under the terms of the GNU Lesser General Public License:
- * 		http://www.opensource.org/licenses/lgpl-license.php
- * 
- * For further information visit:
- * 		http://www.fckeditor.net/
- * 
- * File Name: package.html
- * 	JavaDoc connector documentation.
- * 
- * Version:  2.3
- * Modified: 2005-08-11 16:29:00
- * 
- * File Authors:
- * 		Simone Chiaretta (simo@users.sourceforge.net)
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * JavaDoc connector documentation.
 -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 <html>
 <head>
-<!--
-
-  @(#)package.html	1.60 98/01/27
-
-  Copyright 1998 Sun Microsystems, Inc. 901 San Antonio Road, 
-  Palo Alto, California, 94303, U.S.A.  All Rights Reserved.
-
-  This software is the confidential and proprietary information of Sun
-  Microsystems, Inc. ("Confidential Information").  You shall not
-  disclose such Confidential Information and shall use it only in
-  accordance with the terms of the license agreement you entered into
-  with Sun.
-
-  CopyrightVersion 1.2
-
--->
 </head>
 <body bgcolor="white">
@@ -61,5 +48,5 @@
 		&lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
 	&lt;/servlet&gt;
-	
+
 	&lt;servlet-mapping&gt;
 		&lt;servlet-name&gt;Connector&lt;/servlet-name&gt;
@@ -79,5 +66,5 @@
 For overviews, tutorials, examples, guides, and tool documentation, please see:
 <ul>
-  <li>_sample/jsp directory for example of how to implement FCKEditor in your application
+  <li>_sample/jsp directory for example of how to implement FCKeditor in your application
 </ul>
 
Index: /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/package.html
===================================================================
--- /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/package.html	(revision 1294)
+++ /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/package.html	(revision 1295)
@@ -1,20 +1,23 @@
 <!--
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003-2005 Frederico Caldeira Knabben
- * 
- * Licensed under the terms of the GNU Lesser General Public License:
- * 		http://www.opensource.org/licenses/lgpl-license.php
- * 
- * For further information visit:
- * 		http://www.fckeditor.net/
- * 
- * File Name: package.html
- * 	JavaDoc package documentation.
- * 
- * Version:  2.3
- * Modified: 2005-08-11 16:29:00
- * 
- * File Authors:
- * 		Simone Chiaretta (simo@users.sourceforge.net)
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * JavaDoc package documentation.
 -->
 
@@ -22,25 +25,9 @@
 <html>
 <head>
-<!--
-
-  @(#)package.html	1.60 98/01/27
-
-  Copyright 1998 Sun Microsystems, Inc. 901 San Antonio Road, 
-  Palo Alto, California, 94303, U.S.A.  All Rights Reserved.
-
-  This software is the confidential and proprietary information of Sun
-  Microsystems, Inc. ("Confidential Information").  You shall not
-  disclose such Confidential Information and shall use it only in
-  accordance with the terms of the license agreement you entered into
-  with Sun.
-
-  CopyrightVersion 1.2
-
--->
 </head>
 <body bgcolor="white">
 
 Core objects to manage the FCKeditor text input form.
-Java Integration Module 2.3.
+Java Integration Module 2.4.
 
 <h2>Related Documentation</h2>
@@ -48,5 +35,5 @@
 For overviews, tutorials, examples, guides, and tool documentation, please see:
 <ul>
-  <li><a href="http://www.FCKeditor.net/">Official page of FCKeditor</a>
+  <li><a href="http://www.fckeditor.net/">Official web site of FCKeditor</a>
 </ul>
 
Index: /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/tags/FCKeditorTag.java
===================================================================
--- /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/tags/FCKeditorTag.java	(revision 1294)
+++ /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/tags/FCKeditorTag.java	(revision 1295)
@@ -55,11 +55,8 @@
  *		This is some &lt;B&gt;sample text&lt;/B&gt;.
  *	&lt;/FCK:editor&gt;
-*  </pre>
- *<p>In this example we set the id and the basePath of the editor (since it is /FCKeditor/
+ *  </pre>
+ * In this example we set the id and the basePath of the editor (since it is /FCKeditor/
  * we could have omitted it because it's already the default value).<br>
  * Then we used the the optional attributes to set some advanced configuration settings.
- *
-			
- * @author Simone Chiaretta (simo@users.sourceforge.net)
  */
 public class FCKeditorTag extends BodyTagSupport  {
Index: /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/tags/package.html
===================================================================
--- /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/tags/package.html	(revision 1294)
+++ /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/tags/package.html	(revision 1295)
@@ -1,40 +1,27 @@
 <!--
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003-2005 Frederico Caldeira Knabben
- * 
- * Licensed under the terms of the GNU Lesser General Public License:
- * 		http://www.opensource.org/licenses/lgpl-license.php
- * 
- * For further information visit:
- * 		http://www.fckeditor.net/
- * 
- * File Name: package.html
- * 	JavaDoc FCKeditor lib documentation.
- * 
- * Version:  2.3
- * Modified: 2005-08-11 16:29:00
- * 
- * File Authors:
- * 		Simone Chiaretta (simo@users.sourceforge.net)
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * JavaDoc FCKeditor lib documentation.
 -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 <html>
 <head>
-<!--
-
-  @(#)package.html	1.60 98/01/27
-
-  Copyright 1998 Sun Microsystems, Inc. 901 San Antonio Road, 
-  Palo Alto, California, 94303, U.S.A.  All Rights Reserved.
-
-  This software is the confidential and proprietary information of Sun
-  Microsystems, Inc. ("Confidential Information").  You shall not
-  disclose such Confidential Information and shall use it only in
-  accordance with the terms of the license agreement you entered into
-  with Sun.
-
-  CopyrightVersion 1.2
-
--->
 </head>
 <body bgcolor="white">
@@ -56,5 +43,5 @@
 For overviews, tutorials, examples, guides, and tool documentation, please see:
 <ul>
-  <li>_sample/jsp directory for example of how to implement FCKEditor in your application
+  <li>_sample/jsp directory for example of how to implement FCKeditor in your application
 </ul>
 
Index: /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/tool/Compatibility.java
===================================================================
--- /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/tool/Compatibility.java	(revision 1294)
+++ /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/tool/Compatibility.java	(revision 1295)
@@ -27,6 +27,5 @@
  * Compatibility check.
  *
- * @version $Id: Compatibility.java 1187 2008-01-03 19:09:23Z th-schwarz $
- * @author <a href="mailto:th-schwarz@users.sourceforge.net">Thilo Schwarz</a>
+ * @version $Id$
  */
 public class Compatibility {
Index: /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/tool/Utils.java
===================================================================
--- /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/tool/Utils.java	(revision 1294)
+++ /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/tool/Utils.java	(revision 1295)
@@ -28,5 +28,4 @@
  * Some static helper methods.
  * 
- * @version $Id:Utils.java 1099 2007-11-06 15:01:50Z th-schwarz $
  * @author <a href="mailto:th-schwarz@users.sourceforge.net">Thilo Schwarz</a>
  */
Index: /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/uploader/SimpleUploaderServlet.java
===================================================================
--- /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/uploader/SimpleUploaderServlet.java	(revision 1294)
+++ /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/uploader/SimpleUploaderServlet.java	(revision 1295)
@@ -53,6 +53,4 @@
  * 
  * @version $Id:SimpleUploaderServlet.java 1099 2007-11-06 15:01:50Z th-schwarz $
- * @author Simone Chiaretta (simo@users.sourceforge.net)
- * @author <a href="mailto:th-schwarz@users.sourceforge.net">Thilo Schwarz</a>
  * @see ConnectorServlet
  * @deprecated wird laut 2.5 spec vom doPost des connectorservlets erledigt
Index: /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/uploader/package.html
===================================================================
--- /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/uploader/package.html	(revision 1294)
+++ /FCKeditor.Java/branches/2.4/src/main/java/com/fredck/fckeditor/uploader/package.html	(revision 1295)
@@ -1,112 +1,39 @@
 <!--
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003-2005 Frederico Caldeira Knabben
- * 
- * Licensed under the terms of the GNU Lesser General Public License:
- * 		http://www.opensource.org/licenses/lgpl-license.php
- * 
- * For further information visit:
- * 		http://www.fckeditor.net/
- * 
- * File Name: package.html
- * 	JavaDoc connector documentation.
- * 
- * Version:  2.3
- * Modified: 2005-08-11 16:29:00
- * 
- * File Authors:
- * 		Simone Chiaretta (simo@users.sourceforge.net)
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ *
+ * JavaDoc package documentation.
 -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+
+!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 <html>
 <head>
-<!--
-
-  @(#)package.html	1.60 98/01/27
-
-  Copyright 1998 Sun Microsystems, Inc. 901 San Antonio Road, 
-  Palo Alto, California, 94303, U.S.A.  All Rights Reserved.
-
-  This software is the confidential and proprietary information of Sun
-  Microsystems, Inc. ("Confidential Information").  You shall not
-  disclose such Confidential Information and shall use it only in
-  accordance with the terms of the license agreement you entered into
-  with Sun.
-
-  CopyrightVersion 1.2
-
--->
 </head>
 <body bgcolor="white">
 
-Uploader used by the FCKeditor to send files to the server without using the FileBrowser.
+Core objects to manage the FCKeditor text input form.
+Java Integration Module 2.4.
 
-<h2>Package Specification</h2>
-
-This servlet is access from the file, image, flash dialogs in FCKeditor.<br>
-To make everything work correctly you have to add the following piece of code in your application's web.xml
-<br>
-<pre>
-	&lt;servlet&gt;
-		&lt;servlet-name&gt;SimpleUploader&lt;/servlet-name&gt;
-		&lt;servlet-class&gt;com.fredck.FCKeditor.uploader.SimpleUploaderServlet&lt;/servlet-class&gt;
-		&lt;init-param&gt;
-			&lt;param-name&gt;baseDir&lt;/param-name&gt;
-			&lt;param-value&gt;/UserFiles/&lt;/param-value&gt;
-		&lt;/init-param&gt;
-		&lt;init-param&gt;
-			&lt;param-name&gt;debug&lt;/param-name&gt;
-			&lt;param-value&gt;true&lt;/param-value&gt;
-		&lt;/init-param&gt;
-		&lt;init-param&gt;
-			&lt;param-name&gt;enabled&lt;/param-name&gt;
-			&lt;param-value&gt;false&lt;/param-value&gt;
-		&lt;/init-param&gt;
-		&lt;init-param&gt;
-			&lt;param-name&gt;AllowedExtensionsFile&lt;/param-name&gt;
-			&lt;param-value&gt;&lt;/param-value&gt;
-		&lt;/init-param&gt;
-		&lt;init-param&gt;
-			&lt;param-name&gt;DeniedExtensionsFile&lt;/param-name&gt;
-			&lt;param-value&gt;php|php3|php5|phtml|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|dll|reg|cgi&lt;/param-value&gt;
-		&lt;/init-param&gt;
-		&lt;init-param&gt;
-			&lt;param-name&gt;AllowedExtensionsImage&lt;/param-name&gt;
-			&lt;param-value&gt;jpg|gif|jpeg|png|bmp&lt;/param-value&gt;
-		&lt;/init-param&gt;
-		&lt;init-param&gt;
-			&lt;param-name&gt;DeniedExtensionsImage&lt;/param-name&gt;
-			&lt;param-value&gt;&lt;/param-value&gt;
-		&lt;/init-param&gt;
-		&lt;init-param&gt;
-			&lt;param-name&gt;AllowedExtensionsFlash&lt;/param-name&gt;
-			&lt;param-value&gt;swf|fla&lt;/param-value&gt;
-		&lt;/init-param&gt;
-		&lt;init-param&gt;
-			&lt;param-name&gt;DeniedExtensionsFlash&lt;/param-name&gt;
-			&lt;param-value&gt;&lt;/param-value&gt;
-		&lt;/init-param&gt;
-		&lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
-	&lt;/servlet&gt;
-	
-  &lt;servlet-mapping&gt;
-    &lt;servlet-name&gt;SimpleUploader&lt;/servlet-name&gt;
-    &lt;url-pattern&gt;/editor/filemanager/upload/simpleuploader&lt;/url-pattern&gt;
-  &lt;/servlet-mapping&gt;  
-
-</pre>
-<br>
-And put in the fckconfig.js the following line:
-<pre>
-FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/simpleuploader?Type=File' ;
-FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/simpleuploader?Type=Flash' ;
-FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/simpleuploader?Type=Image' ;
-</pre>
-Also, since the servlet manage a file upload using the Jakarta Common fileupload library, you need to put in your <code>WEB-INF/lib/</code> the <code>commons-fileupload.jar</code>.
 <h2>Related Documentation</h2>
 
 For overviews, tutorials, examples, guides, and tool documentation, please see:
 <ul>
-  <li>_sample/jsp directory for example of how to implement FCKEditor in your application
+  <li><a href="http://www.fckeditor.net/">Official web site of FCKeditor</a>
 </ul>
 
