Index: /CKEditor.Java/ckeditor-java/tags/3.5.3/pom.xml
===================================================================
--- /CKEditor.Java/ckeditor-java/tags/3.5.3/pom.xml	(revision 6850)
+++ /CKEditor.Java/ckeditor-java/tags/3.5.3/pom.xml	(revision 6850)
@@ -0,0 +1,113 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<groupId>com.ckeditor</groupId>
+	<artifactId>ckeditor-java</artifactId>
+	<name>CKEditor for Java</name>
+	<description>CKEditor Server Side Integration for Java with samples.
+	This Java library enables CKEditor to be used in a Servlet/J2EE
+	environment. It provides JSP tags for creating a CKEditor instance.
+	Samples and CKEditor (the editor) are included.</description>
+	<version>3.5.3</version>
+	<url>http://ckeditor.com</url>
+	<inceptionYear>2003</inceptionYear>
+	<licenses>
+		<license>
+			<name>GNU General Public License Version 2 or later (GPL)</name>
+			<url>http://www.gnu.org/licenses/gpl.html</url>
+		</license>
+		<license>
+			<name>GNU Lesser General Public License Version 2.1 (LGPL)</name>
+			<url>http://www.gnu.org/licenses/lgpl.html</url>
+		</license>
+		<license>
+			<name>Mozilla Public License Version 1.1 or later (MPL)</name>
+			<url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
+		</license>
+	</licenses>
+	<organization>
+		<name>CKSource - Frederico Knabben</name>
+		<url>http://cksource.com</url>
+	</organization>
+	<packaging>war</packaging>
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<version>2.3.2</version>
+				<configuration>
+					<source>1.5</source>
+					<target>1.5</target>
+					<encoding>utf-8</encoding>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-resources-plugin</artifactId>
+				<version>2.2</version>
+				<configuration>
+					<encoding>UTF-8</encoding>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-clean-plugin</artifactId>
+				<version>2.4.1</version>
+				<configuration>
+					<filesets>
+						<fileset>
+							<directory>src/main/webapp</directory>
+							<includes>
+								<include>**/*.php</include>
+								<include>**/*.asp</include>
+							</includes>
+							<followSymlinks>false</followSymlinks>
+						</fileset>
+						<fileset>
+							<directory>src/main/webapp/ckeditor/_samples/asp</directory>
+							<followSymlinks>false</followSymlinks>
+						</fileset>
+						<fileset>
+							<directory>src/main/webapp/ckeditor/_samples/adobeair</directory>
+							<followSymlinks>false</followSymlinks>
+						</fileset>
+						<fileset>
+							<directory>src/main/webapp/ckeditor/_samples/php</directory>
+							<followSymlinks>false</followSymlinks>
+						</fileset>
+					</filesets>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-war-plugin</artifactId>
+				<version>2.1.1</version>
+				<configuration>
+					<archive>
+						<manifestEntries>
+							<Built-By>${project.organization.name}</Built-By>
+						</manifestEntries>
+						<manifest>
+							<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+						</manifest>
+						<addMavenDescriptor>false</addMavenDescriptor>
+					</archive>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+	<dependencies>
+		<dependency>
+			<groupId>com.ckeditor</groupId>
+			<artifactId>ckeditor-java-core</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>javax.servlet</groupId>
+			<artifactId>servlet-api</artifactId>
+			<version>2.4</version>
+			<scope>provided</scope>
+		</dependency>
+	</dependencies>
+</project>
Index: /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/java/com/ckeditor/SamplePostData.java
===================================================================
--- /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/java/com/ckeditor/SamplePostData.java	(revision 6850)
+++ /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/java/com/ckeditor/SamplePostData.java	(revision 6850)
@@ -0,0 +1,56 @@
+/*
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see http://ckeditor.com/license
+*/
+package com.ckeditor;
+
+import java.io.IOException;
+import java.util.Enumeration;
+
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+public class SamplePostData {
+
+	private static final String[] CHARS_FROM  = {"&", "\"", "<", ">"};
+	private static final String[] CHARS_TO = {"&amp;", "&quot;", "&lt;", "&gt;"};
+	/**
+	 * 
+	 */
+	private static final long serialVersionUID = -8568318698824941902L;
+	private HttpServletRequest request;
+	
+	public SamplePostData(HttpServletRequest request) {
+		this.request = request;
+	}
+	
+	public String getAllFormFieldsAndValues() {
+		StringBuffer sb = new StringBuffer();
+
+		Enumeration e = request.getParameterNames();
+		while (e.hasMoreElements()) {
+			String field = (String) e.nextElement();
+			String fieldValue = request.getParameter(field);
+			sb.append("<tr>");	
+			sb.append("<th style=\"vertical-align: top\">");
+			sb.append(parse(field));
+			sb.append("</th>");
+			sb.append("<td><pre class=\"samples\">");
+			sb.append(parse(fieldValue));
+			sb.append("</pre></td>");
+			sb.append("</tr>");
+		}
+		return sb.toString();
+	}
+
+	private Object parse(String fieldValue) {
+		String fv = fieldValue;
+		for (int i = 0; i < CHARS_FROM.length; i++) {
+			fv = fv.replaceAll(CHARS_FROM[i], CHARS_TO[i]);
+		}
+		return fv;
+	}
+
+}
Index: /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/WEB-INF/web.xml
===================================================================
--- /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/WEB-INF/web.xml	(revision 6850)
+++ /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/WEB-INF/web.xml	(revision 6850)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app id="WebApp_ID" version="2.4"
+	xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+	<session-config>
+		<session-timeout>10</session-timeout>
+	</session-config>
+
+</web-app>
Index: /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/_samples/advanced.jsp
===================================================================
--- /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/_samples/advanced.jsp	(revision 6850)
+++ /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/_samples/advanced.jsp	(revision 6850)
@@ -0,0 +1,104 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<%@ taglib uri="http://ckeditor.com" prefix="ckeditor" %>
+<%@page import="com.ckeditor.CKEditorConfig"%>
+<%@page import="com.ckeditor.EventHandler"%>
+<%@page import="java.util.ArrayList"%>
+<%@page import="java.util.List"%>
+<%@page import="java.util.HashMap"%>
+<%@page import="java.util.Map"%>
+<%@page language="Java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Creating CKEditor Instances &mdash; CKEditor Sample</title>
+	<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
+	<link type="text/css" rel="stylesheet" href="../ckeditor/_samples/sample.css" />
+</head>
+<body>
+	<h1 class="samples">
+		CKEditor Sample &mdash; Creating CKEditor Instances
+	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to add event handlers to CKEditor with Java.
+	</p>
+	<p>
+		A snippet of the configuration code can be seen below; check the source code of this page for
+		the full definition:
+	</p>
+	<pre class="samples">
+&lt;%
+CKEditorConfig settings = new CKEditorConfig();
+settings.addConfigValue("skin", "office2003");
+EventHandler eventHandler = new EventHandler();
+eventHandler.addEventHandler("instanceReady", "function (ev) { alert(\"Loaded: \" + ev.editor.name); }");
+String value = "Initial value";
+%&gt;
+
+&lt;ckeditor:editor basePath="/ckeditor/" value="&lt;%=value %&gt;" config="&lt;%=settings %&gt;" editor="editor1" events="&lt;%=eventHandler %&gt;"/&gt;
+
+&lt;%
+settings.removeConfigValue("skin");
+settings.addConfigValue("uiColor", "#ADE82E");
+settings.addConfigValue("toolbar", "[['Format'],['Bold','Italic','Underline','Strike','-','Subscript','Superscript']]");
+%&gt;
+
+&lt;ckeditor:replace basePath="/ckeditor/" config="&lt;%=settings %&gt;" replace="editor2" /&gt;
+	</pre>
+	</div>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</noscript>
+	</div>
+	<!-- This <fieldset> holds the HTML code that you will usually find in your pages. -->
+	<form action="assets/sample_posteddata.jsp" method="post">
+		<p>
+			<label for="editor1">
+				Editor 1:</label>
+		</p>
+		<p>
+			<% 
+				String value = "<p>This is some <strong>sample text</strong>. You are using <a href=\"http://ckeditor.com/\">CKEditor</a>.</p>";
+				CKEditorConfig settings = new CKEditorConfig();
+				settings.addConfigValue("skin", "office2003");
+				EventHandler eventHandler = new EventHandler();
+				eventHandler.addEventHandler("instanceReady", "function (ev) { alert(\"Loaded: \" + ev.editor.name); }");
+			%>
+			<ckeditor:editor basePath="../ckeditor/" config="<%=settings %>"
+				 editor="editor1" value="<%= value %>"
+				 events="<%=eventHandler %>"/>
+		</p>
+		<p>
+			<label for="editor2">
+				Editor 2:</label>
+			<textarea cols="80" id="editor2" name="editor2" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
+		</p>
+		<%
+			settings.removeConfigValue("skin");
+			settings.addConfigValue("uiColor", "#ADE82E");
+			settings.addConfigValue("toolbar", "[['Format'],['Bold','Italic','Underline','Strike','-','Subscript','Superscript']]");
+		%>
+		<ckeditor:replace basePath="../ckeditor/" config="<%=settings %>" replace="editor2" />
+		<input type="submit" value="Submit"/>
+	</form>
+	<div id="footer">
+		<hr />
+		<p>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
+		</p>
+		<p id="copy">
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
+			Knabben. All rights reserved.
+		</p>
+	</div>
+</body>
+</html>
Index: /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/_samples/assets/sample_posteddata.jsp
===================================================================
--- /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/_samples/assets/sample_posteddata.jsp	(revision 6850)
+++ /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/_samples/assets/sample_posteddata.jsp	(revision 6850)
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<%@page import="com.ckeditor.SamplePostData"%>
+<%@page import="java.util.Enumeration"%>
+<%@page language="Java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Sample &mdash; CKEditor</title>
+	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+	<link type="text/css" rel="stylesheet" href="../../ckeditor/_samples/sample.css" />
+</head>
+<body>
+	<h1 class="samples">
+		CKEditor &mdash; Posted Data
+	</h1>
+	<table border="1" cellspacing="0" id="outputSample">
+		<colgroup><col width="100" /></colgroup>
+		<thead>
+			<tr>
+				<th>Field&nbsp;Name</th>
+				<th>Value</th>
+			</tr>
+		</thead>
+	<%
+		out.write(new SamplePostData(request).getAllFormFieldsAndValues());
+	%>
+	</table>
+	<div id="footer">
+		<hr />
+		<p>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
+		</p>
+		<p id="copy">
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
+		</p>
+	</div>
+</body>
+</html>
Index: /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/_samples/index.jsp
===================================================================
--- /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/_samples/index.jsp	(revision 6850)
+++ /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/_samples/index.jsp	(revision 6850)
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <meta content="text/html; charset=utf-8" http-equiv="content-type" />
+	<title>CKEditor Samples &mdash; Java Integration</title>
+	<link type="text/css" rel="stylesheet" href="../ckeditor/_samples/sample.css" />
+</head>
+<body>
+	<h1 class="samples">
+		CKEditor Samples List for Java
+	</h1>
+	<h2 class="samples">
+		Basic Samples
+	</h2>
+	<ul class="samples">
+		<li><a class="samples" href="replace.jsp">Replace existing textarea elements by code</a><br />
+		Replacement of selected textarea elements with CKEditor instances by using a JavaScript call.</li>
+		<li><a class="samples" href="replaceall.jsp">Replace all textarea elements by code</a><br />
+		Replacement of all textarea elements with CKEditor instances by using a JavaScript call.</li>		
+		<li><a class="samples" href="standalone.jsp">Create CKEditor instances in Java</a><br />
+		Creating a CKEditor instance (no initial textarea element is required).</li>
+	</ul>
+	<h2 class="samples">
+		Advanced Samples
+	</h2>
+	<ul>
+		<li><a class="samples" href="advanced.jsp">Create CKEditor instances in Java with event handler</a><br />
+		Creating a CKEditor instance (no initial textarea element is required) with advanced settings.</li>
+	</ul>
+	<div id="footer">
+		<hr />
+		<p>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
+		</p>
+		<p id="copy">
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
+		</p>
+	</div>
+</body>
+</html>
Index: /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/_samples/replace.jsp
===================================================================
--- /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/_samples/replace.jsp	(revision 6850)
+++ /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/_samples/replace.jsp	(revision 6850)
@@ -0,0 +1,68 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<%@ taglib uri="http://ckeditor.com" prefix="ckeditor" %>
+<%@page import="java.util.HashMap"%>
+<%@page import="java.util.Map"%>
+<%@page language="Java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Replace Selected Textarea Elements &mdash; CKEditor Sample</title>
+	<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
+	<link type="text/css" rel="stylesheet" href="../ckeditor/_samples/sample.css" />
+</head>
+<body>
+	<h1 class="samples">
+		CKEditor Sample &mdash;  Replace Selected Textarea Elements Using Java Code
+	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to replace a selected <code>&lt;textarea&gt;</code> element
+		with a CKEditor instance by using Java code.
+	</p>
+	<p>
+		To replace a <code>&lt;textarea&gt;</code> element, place the following call at any point
+		after the <code>&lt;textarea&gt;</code> element:
+	</p>
+	<pre class="samples">
+&lt;ckeditor:replace replace="textarea_id" basePath="/ckeditor/" /&gt;</pre>
+	<p>
+		Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
+		the <code>&lt;textarea&gt;</code> element to be replaced.
+	</p>
+	</div>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</noscript>
+	</div>
+	<form action="assets/sample_posteddata.jsp" method="post">
+		<p>
+			<label for="editor1">
+				Editor 1:</label>
+			<textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
+		</p>
+		<p>
+			<input type="submit" value="Submit"/>
+		</p>
+	</form>
+	<div id="footer">
+		<hr />
+		<p>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
+		</p>
+		<p id="copy">
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
+			Knabben. All rights reserved.
+		</p>
+	</div>	
+	<ckeditor:replace  replace="editor1" basePath="../ckeditor/" />
+</body>
+</html>
Index: /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/_samples/replaceall.jsp
===================================================================
--- /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/_samples/replaceall.jsp	(revision 6850)
+++ /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/_samples/replaceall.jsp	(revision 6850)
@@ -0,0 +1,67 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<%@page language="Java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
+<%@ taglib uri="http://ckeditor.com" prefix="ckeditor" %>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Replace All Textarea Elements &mdash; CKEditor Sample</title>
+	<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
+	<link type="text/css" rel="stylesheet" href="../ckeditor/_samples/sample.css" />
+</head>
+<body>
+	<h1 class="samples">
+		CKEditor Sample &mdash; Replace All Textarea Elements Using JSP tag
+	</h1>
+	<div class="description">
+	<p>
+		This sample shows how to replace all <code>&lt;textarea&gt;</code> elements
+		with CKEditor by using JSP tag.
+	</p>
+	<p>
+		To replace all <code>&lt;textarea&gt;</code> elements, place the following call at any point
+		after the last <code>&lt;textarea&gt;</code> element:
+	</p>	
+	<pre class="samples">
+&lt;ckeditor:replaceAll basePath="/ckeditor/" /&gt;</pre>
+	</div>
+	<!-- This <div> holds alert messages to be displayed in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</noscript>
+	</div>
+	<form action="assets/sample_posteddata.jsp" method="post">
+		<p>
+			<label for="editor1">
+				Editor 1:</label>
+			<textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
+		</p>
+		<p>
+			<label for="editor2">
+				Editor 2:</label>
+			<textarea cols="80" id="editor2" name="editor2" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
+		</p>
+		<p>
+			<input type="submit" value="Submit"/>
+		</p>
+	</form>
+	<div id="footer">
+		<hr />
+		<p>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
+		</p>
+		<p id="copy">
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
+			Knabben. All rights reserved.
+		</p>
+	</div>
+	<ckeditor:replaceAll basePath="../ckeditor/" />
+</body>
+</html>
Index: /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/_samples/standalone.jsp
===================================================================
--- /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/_samples/standalone.jsp	(revision 6850)
+++ /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/_samples/standalone.jsp	(revision 6850)
@@ -0,0 +1,85 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<%@ taglib uri="http://ckeditor.com" prefix="ckeditor" %>
+<%@page import="com.ckeditor.CKEditorConfig"%>
+<%@page import="java.util.ArrayList"%>
+<%@page import="java.util.List"%>
+<%@page import="java.util.HashMap"%>
+<%@page import="java.util.Map"%>
+<%@page language="Java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Creating CKEditor Instances &mdash; CKEditor Sample</title>
+	<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
+	<link type="text/css" rel="stylesheet" href="../ckeditor/_samples/sample.css" />
+</head>
+<body>
+	<h1 class="samples">
+		CKEditor Sample &mdash; Creating CKEditor Instances
+	</h1>
+	<!-- This <div> holds alert messages to be display in the sample page. -->
+	<div id="alerts">
+		<noscript>
+			<p>
+				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
+				support, like yours, you should still see the contents (HTML data) and you should
+				be able to edit it normally, without a rich editor interface.
+			</p>
+		</noscript>
+	</div>
+	<div class="description">
+	<p>
+		This sample shows how to create a CKEditor instance with Java.
+	</p>
+	<pre class="samples">
+&lt;% 
+String value = "My first &lt;strong&gt;CKEditor&lt;/strong&gt; Java tag";
+
+CKEditorConfig settings = new CKEditorConfig();
+settings.addConfigValue("width", "500");
+settings.addConfigValue("toolbar", "Basic");
+%&gt;
+
+&lt;ckeditor:editor basePath="/ckeditor/" config="&lt;%=settings %&gt;" editor="textarea_id" value="&lt;%= value %&gt;"/&gt;</pre>
+	<p>
+		Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> and <code>name</code> attribute of
+		the <code>&lt;textarea&gt;</code> element that will be created.
+	</p>
+	</div>
+	<!-- This <fieldset> holds the HTML code that you will usually find in your pages. -->
+	<form action="assets/sample_posteddata.jsp" method="post">
+		<p>
+			<label for="editor1">
+				Editor 1:</label>
+		</p>
+		<p>
+			<% 
+				String value = "My first <strong>CKEditor</strong> Java tag";
+				Map<String, String> attr = new HashMap<String, String>();
+				attr.put("rows", "8");
+				attr.put("cols", "50");
+				CKEditorConfig settings = new CKEditorConfig();
+				settings.addConfigValue("width", "500");
+				settings.addConfigValue("toolbar", "Basic");
+			%>
+			<ckeditor:editor textareaAttributes="<%=attr %>"
+				basePath="../ckeditor/" config="<%=settings %>"
+				editor="editor1" value="<%= value %>"/>
+			<input type="submit" value="Submit"/>
+		</p>
+	</form>
+	<div id="footer">
+		<hr />
+		<p>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
+		</p>
+		<p id="copy">
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
+			Knabben. All rights reserved.
+		</p>
+	</div>
+</body>
+</html>
Index: /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/index.jsp
===================================================================
--- /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/index.jsp	(revision 6850)
+++ /CKEditor.Java/ckeditor-java/tags/3.5.3/src/main/webapp/index.jsp	(revision 6850)
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <meta content="text/html; charset=utf-8" http-equiv="content-type" />
+	<title>CKEditor for Java &mdash; Samples</title>
+	<link type="text/css" rel="stylesheet" href="ckeditor/_samples/sample.css" />
+</head>
+<body>
+	<h1 class="samples">
+		CKEditor for Java
+	</h1>
+	<p>
+		The samples of CKEditor integration are available in the <a class="samples" href="_samples/index.jsp">_samples folder</a>.
+	</p>
+	<h2 class="samples">
+		Useful Links
+	</h2>
+	<ul class="samples">
+		<li><a class="samples" href="http://docs.cksource.com/CKEditor_3.x/Developers_Guide">CKEditor for Java - Documentation</a><br />The official documentation website.</li>
+		<li><a class="samples" href="http://ckeditor.com/license">License</a><br />CKEditor license.</li>
+		<li><a class="samples" href="ckeditor/CHANGES.html">Changelog</a><br />CKEditor changelog.</li>
+	</ul>
+	<div id="footer">
+		<hr />
+		<p>
+			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
+		</p>
+		<p id="copy">
+			Copyright &copy; 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
+		</p>
+	</div>
+</body>
+</html>
