摘要:异常信息: root causeExpression parameters.parseContent is undefined on line 45, column 28 in template/ajax/head.ftl. - Class: freemarker.core.TemplateObjectFile: TemplateObject.javaMethod: assertNonNull.....
阅读全文
|
文章分类 - struts2
记录struts2的学习过程
摘要:异常信息: root causeExpression parameters.parseContent is undefined on line 45, column 28 in template/ajax/head.ftl. - Class: freemarker.core.TemplateObjectFile: TemplateObject.javaMethod: assertNonNull.....
阅读全文
摘要:User对象属性获取如User中有username和password字段获取username属性<s:property value="user.username" />获取password属性<s:property value="user.password" />若User中又包含定义了address对象,address对象中包含有addr属性,则可以这样访问获取addr属...
阅读全文
摘要:struts.properties中加入属性:struts.locale=zh_CNstruts.i18n.encoding=GBK页面内部用GBK的编码,立即搞定
阅读全文
摘要:这个图很直白的说明了struts2 上下文 ActionContext中各个对象的逻辑关系: |--application | |--session context map---| |--value stack(root) | |--request | |--parameters | |--attr (searches page, request, session, then applica...
阅读全文
|