Version 1

    Hi, With Jboss 7.2 and Spring Framework 3.2. I have fckeditor 2.6 integrated in my spring project in jsp file.
    However when I navigated to the jsp page, the war file thrown the following exception:

     

    [quote]  ....

    23:04:38,542 DEBUG [org.springframework.web.servlet.handler.SimpleUrlHandlerMapping] (http--192.168.1.20-8080-4) Matching patterns for request [/resources/editorcss/jHtmlArea.png] are [/resources/**]
    23:04:38,543 DEBUG [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] (http--192.168.1.20-8080-6) Did not find handler method for [/fckeditor/editor/fckeditor.html]
    23:04:38,544 WARN  [org.springframework.web.servlet.PageNotFound] (http--192.168.1.20-8080-6) No mapping found for HTTP request with URI [/ForestsurfClient-web/fckeditor/editor/fckeditor.html] in DispatcherServlet with name 'dispatcherServlet'


      [/quote]

     

    My web.xml file:

     

    [code=java]

    <servlet>
                <servlet-name>ConnectorServlet</servlet-name>
                  <servlet-class>
                    net.fckeditor.connector.ConnectorServlet
                </servlet-class>
                <load-on-startup>1</load-on-startup>
            </servlet>

     

            <servlet-mapping>
                <servlet-name>ConnectorServlet</servlet-name>
                <url-pattern>
                  /resources/fckeditor/editor/filemanager/connectors/*
                </url-pattern>
            </servlet-mapping>

    [/code]

     


    jsp file:

     

    [code=java]

    <%@ page language="java" contentType="text/html; charset=UTF-8"
        pageEncoding="UTF-8" import="net.fckeditor.*" %>

     

    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
    <%@ page import="java.util.*" language="java" %>
    <%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>

     

    <%@ taglib uri="http://java.fckeditor.net" prefix="FCK" %>

     


    ...

     

    <script type="text/javascript">
                function FCKeditor_OnComplete(editorInstance) {
                    window.status = editorInstance.Description;
                }
            </script>

     

    </head>

     

    <%
            FCKeditor fckEditor = new FCKeditor(request, "EditorDefault");
        %>

     

    ...
    <FCK:editor instanceName="EditorDefault">
                                        <jsp:attribute name="value">This is some <strong>sample text</strong>.
                                          You are using <a href="http://www.fckeditor.net">FCKeditor</a>.
                                        </jsp:attribute>
                                      </FCK:editor>


    [/code]

     

    Search my source code in my project and found fckeditor html is there:

     

    [quote] 

    find . -name "fckeditor.html"
    ./ForestsurfClient-web/src/main/resources/fckeditor/editor/fckeditor.html
    ./ForestsurfClient-web/target/classes/fckeditor/editor/fckeditor.html
    ./ForestsurfClient-web/target/ForestsurfClient-web-1.0/WEB-INF/classes/fckeditor/editor/fckeditor.html

    [/quote]

     

    I have also unzipped fckeditor-2.6.8.zip file into

    src/main/resources/

    folder.

     

    What have I missing and done something incorrectly?