Java 添加struts2 JQuery Datepicker后,没有为操作和结果输入定义结果

Java 添加struts2 JQuery Datepicker后,没有为操作和结果输入定义结果,java,forms,struts2,datepicker,struts2-jquery,Java,Forms,Struts2,Datepicker,Struts2 Jquery,我有一个struts2表单,其中添加了一个日期选择器作为字段。但是在添加日期选择器之后,当我提交表单时,Tomcat错误消息显示 HTTP Status 404 - No result defined for action com.abc.RecBackupConfigurationAction and result input 如果我从表单中删除datepicker,那么一切都会正常运行。我不知道我哪里做错了 我的JSP: <%@page contentType="text/html"

我有一个struts2表单,其中添加了一个日期选择器作为字段。但是在添加日期选择器之后,当我提交表单时,Tomcat错误消息显示

HTTP Status 404 - No result defined for action com.abc.RecBackupConfigurationAction and result input
如果我从表单中删除datepicker,那么一切都会正常运行。我不知道我哪里做错了

我的JSP:

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<sj:head />
<script>
    function grabDispositions(campaign) {
        $.post("getCampDispositionsRecBackupConf", {campname: campaign}, function(response) {
            $('#disposition_td').html(response);
        });
    }
</script>
<h3>Recording Backup Configuration</h3>
<div id="backup_conf">
    <s:form theme="simple" action="saveDetailsRecBackupConf" method="post" name="viewConfiguration">
        <!--Rule Name : <input name="rulename" id="rulename">-->
        <table border="1">
            <tr>
                <td>Rule Name : </td>
                <td><input name="rulename" id="rulename"></td>
                <td>Frequency : </td>
                <td>
                    <select id="frequency" name="frequency">
                        <option value="15">15 minutes</option>
                        <option value="30">30 minutes</option>
                        <option value="60">60 minutes</option>
                        <option value="120">120 minutes</option>
                        <option value="240">240 minutes</option>
                        <option value="480">480 minutes</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>Backup Server: </td>
                <td><input name="backupserver"></td>
                <td>Backup Directory: </td>
                <td><input name="backupdir"></td>
            </tr>
            <tr>
                <td>
                    Select Campaign :
                </td>
                <td>
                    <s:select id="campaign" headerKey="-1" headerValue="Select Campaign" list="campaignList"  name="campname" theme="simple" onchange="grabDispositions(this.value)"/>
                </td>
                <td>
                    Select Dispositions :
                </td>
                <td id='disposition_td'>
                    <s:select id="dispositions" list="dispositionList"  name="dispositions" multiple="true" theme="simple"/>
                </td>
            </tr>
            <tr>
                <td>Status : </td>
                <td>
                    <select name="status">
                        <option value="active">Active</option>
                        <option value="inactive">InActive</option>
                    </select>
                </td>
                <td>Select Date : </td>
                <td>
                    <sj:datepicker size="14" theme="simple" id="addedon" name="addedon" label="Select a Date/Time" timepicker="true" timepickerFormat="HH:mm:ss" displayFormat="yy-mm-dd" readonly="true"></sj:datepicker>            
                    </td>    
                </tr>
            </table>
            <input type="submit" value="SAVE" name="SUBMIT" id="save" />
    </s:form>
</div>

功能配置(活动){
$.post(“getCampDispositionsRecBackupConf”,{campname:campaign},函数(响应){
$('#disposition_td').html(回复);
});
}
录制备份配置
规则名称:
频率:
15分钟
30分钟
60分钟
120分钟
240分钟
480分钟
备份服务器:
备份目录:
选择活动:
选择处置:
地位:
忙碌的
不活跃的
选择日期:
我的struts文件映射:

<action name="*RecBackupConf" method="{1}" class="com.abc.RecBackupConfigurationAction">
        <result name="addConfigurationDetails" type="tiles">recBackupConfiguration</result>
        <result name="saveDetails" type="tiles">viewRecordingConfiguration</result>
        <result name="getCampDispositions">contaque/recBackup/dispositions.jsp</result>
        <result name="displayDetails" >contaque/recBackup/editConfiguration.jsp</result>
    </action>       

备份配置
查看录制配置
contaque/recBackup/dispositions.jsp
contaque/recBackup/editConfiguration.jsp

我应该如何将日期选择器添加到我的表单???

您已经添加了日期选择器,而不是您必须添加
INPUT
result。然后您将看到实际的错误。我已经尝试了
INPUT
result,它工作正常,但没有调用Action类方法。当然。由于引发异常,请查看日志。接收日期的属性类型是什么?日志里有什么?