Java bean name';的BindingResult或普通目标对象;configId';可用作请求属性Jasper异常

Java bean name';的BindingResult或普通目标对象;configId';可用作请求属性Jasper异常,java,spring,jsp,Java,Spring,Jsp,我正在开发spring CRUD应用程序。在我的列表屏幕中,当点击编辑按钮时,我有一个编辑按钮,它必须重定向到另一个有表单输入字段的页面。我要编辑的内容将加载到那里 这里是我正在使用的jsp <%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%> 这是我的update.jsp代码 <form:form action="updateContact.do" commandname="Fee

我正在开发spring CRUD应用程序。在我的列表屏幕中,当点击编辑按钮时,我有一个编辑按钮,它必须重定向到另一个有表单输入字段的页面。我要编辑的内容将加载到那里

这里是我正在使用的jsp

<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
这是我的update.jsp代码

 <form:form action="updateContact.do" commandname="FeedUpdate" method="post"></form:form>
                    <div class="small-3 columns">
                     <label for="right-label" class="right inline">Config Id</label>
                     </div>

                    <div class="small-9 columns">
                    <form:input path="configId" readonly="true"></form:input>
                    </div>

                    <div class="row">
                    <div class="small-3 columns">
                    <label for="right-label" class="right inline">Feed Id</label>
                    </div>

                    <div id="val" class="small-9 columns">
                    <form:input path="feedId" readonly="true"></form:input>
                    </div>
检查“
configId
”是否作为属性(以及有效的getter和setter)存在于您的
FeedForm.java

 <form:form action="updateContact.do" commandname="FeedUpdate" method="post"></form:form>
                    <div class="small-3 columns">
                     <label for="right-label" class="right inline">Config Id</label>
                     </div>

                    <div class="small-9 columns">
                    <form:input path="configId" readonly="true"></form:input>
                    </div>

                    <div class="row">
                    <div class="small-3 columns">
                    <label for="right-label" class="right inline">Feed Id</label>
                    </div>

                    <div id="val" class="small-9 columns">
                    <form:input path="feedId" readonly="true"></form:input>
                    </div>
@RequestMapping(value="/updateFeed", method=RequestMethod.GET)
public ModelAndView edit(@RequestParam("key")Integer id)
{
    FeedForm feedForm = new FeedForm();

    ModelAndView mav = new ModelAndView("FeedUpdate");

    FeedFormDAO feedFormDAO = new FeedFormDAO();
    feedForm = feedFormDAO.selectFeed(String.valueOf(id));

    mav.addObject("FeedUpdate", feedForm);
    return mav;
}