ognl.NoSuchPropertyException
2014-06-05 14:29
381 查看
该异常是因为在表单中的属性设置错误:
<form action="addNews.shtml" method="post" >
新闻标题<input type="text" name="news.title" value="hahha" id="title"><br>
作者<input type="text" name="news.author"><br>
新闻正文<input type="text" name="content" id="content"><br>
责任编辑<input type="text" name="news.creater"><br>
新闻类型<input type="text" name="news.newsType"><br>
<input type="submit" value="submit">
<input type="reset" value="reset">
<input type="button" onclick="getVal()" value="获取正文">
</form>
比如把 name="news.newsType" 写成了 name="news.type"
<form action="addNews.shtml" method="post" >
新闻标题<input type="text" name="news.title" value="hahha" id="title"><br>
作者<input type="text" name="news.author"><br>
新闻正文<input type="text" name="content" id="content"><br>
责任编辑<input type="text" name="news.creater"><br>
新闻类型<input type="text" name="news.newsType"><br>
<input type="submit" value="submit">
<input type="reset" value="reset">
<input type="button" onclick="getVal()" value="获取正文">
</form>
比如把 name="news.newsType" 写成了 name="news.type"
相关文章推荐
- Error evaluating expression 'objectProperty.userId!=0'. Cause: org.apache.ibatis.ognl.NoSuchProperty
- ognl.NoSuchPropertyException
- ognl.NoSuchPropertyException
- ognl.NoSuchPropertyException
- ognl.NoSuchPropertyException(没有对应属性异常)
- org.apache.ibatis.ognl.NoSuchPropertyException: java.util.ArrayList.XXX
- Struts2 ognl.NoSuchPropertyException
- Error setting expression 'user.passsword' with value '[Ljava.lang.String;@c278b5' ognl.NoSuchPropert
- struts2利用xwork进行校验时,报错ognl.NoSuchPropertyException
- Struts2 没有对应属性异常 ognl.NoSuchPropertyException
- ognl.NoSuchPropertyException
- ognl.NoSuchPropertyException
- ognl.NoSuchPropertyException(没有对应属性异常)
- ognl.NoSuchPropertyException(没有对应属性异常)
- Caused by: ognl.NoSuchPropertyException
- ognl.NoSuchPropertyException(没有对应属性异常)
- ognl.NoSuchPropertyException
- ognl.NoSuchPropertyException(没有对应属性异常)
- /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory 的问题原因
- tslib移植的问题:No raw modules loaded.ts_config:No such file or directory