零碎记录

来源:互联网 发布:如何看淘宝信誉 编辑:程序博客网 时间:2024/03/29 01:22

OGNL表达式中,user.username对应action中user这个model的方法setXXX()、getXXX()。其中XXX必须是username第一个字母大写。

url中......?xxx=xx&xxx=xx当参数传递过程中没有正常的转换会发生No result defined for action and result input错误,要检查参数格式,若自己定义转换器,检查转换器实现是否正确。

eclipse中复制web项目后一定要修改新项目的context-root,方法是:

在复制后的工程上点右键->properties->web context-root

原创粉丝点击