Editing struts-config-forum.xml

Create struts-config-forum.xml file in the WEB-INF folder of your publication and add the following content to it:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC 
          "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" 
          "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
  <form-beans>
    <form-bean name="com.escenic.forum.struts.presentation.CommentForm"
               type="com.escenic.forum.struts.presentation.CommentForm"/>
    <form-bean name="com.escenic.forum.struts.presentation.PostingForm"
               type="com.escenic.forum.struts.presentation.PostingForm"/>
    <form-bean name="com.escenic.forum.struts.presentation.ComplaintForm"
               type="com.escenic.forum.struts.presentation.ComplaintForm" />
  </form-beans>

  <action-mappings>
    <action path="/insert/comment"
            type="com.escenic.forum.struts.presentation.InsertCommentAction"
            name="com.escenic.forum.struts.presentation.CommentForm"
            input="/template/art/comments/add-comment.jsp"
            validate="false"
            scope="request">
      <forward name="target" path="/template/art/comments/add-comment-success.jsp"/>
    </action>
    <action path="/insert/posting"
            type="com.escenic.forum.struts.presentation.InsertPostingAction"
            name="com.escenic.forum.struts.presentation.PostingForm"
            input="/"
            validate="true"
            scope="request">
      <forward name="target" path="/"/>
    </action>
    <action path="/insert/auth/posting"
            type="com.escenic.forum.struts.presentation.AuthenticatedInsertPostingAction"
            name="com.escenic.forum.struts.presentation.PostingForm"
            input="/"
            validate="true"
            scope="request">
      <forward name="target" path="/"/>
    </action>
    <action path="/insert/complaint"
            type="com.escenic.forum.struts.presentation.InsertPostingAction"
            name="com.escenic.forum.struts.presentation.ComplaintForm"
            input="/"
            validate="true"
            scope="request">
      <forward name="target" path="/"/>
    </action>
    <action path="/insert/auth/complaint"
            type="com.escenic.forum.struts.presentation.AuthenticatedInsertPostingAction"
            name="com.escenic.forum.struts.presentation.ComplaintForm"
            input="/"
            validate="true"
            scope="request">
      <forward name="target" path="/"/>
    </action>
  </action-mappings>
</struts-config>