Mingyang.net:为什么不将Bean定义在Action参数中?

Spring MVC提供了一种方便的Bean填充方式:

@Controller
public class CmsChannelController extends AbstractController
{

    public String saveAction(Model model,
            CmsChannel cmsChannel) throws Exception
    {
        updateEntity(cmsChannel);
        getCurrentSession().flush();
        
        return "redirect:" + getIndexUrl();
    }
    
}

通过这种映射,SpringMVC可以自动地将请求中的参数更新到CmsChannel。
我想说得问题是这种方式有一个弊端:不管是new或是edit,都要求将Bean的所有属性放到请求中提交。对于edit,通常的处理方式是根据传入的id读取出对应的Bean,然后再根据请求做更新。