macoo

记录收获的点点滴滴

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
  21 随笔 :: 15 文章 :: 13 评论 :: 24896 阅读

文章分类 -  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..... 阅读全文
posted @ 2010-02-03 16:58 macoo 阅读(173) 评论(0) 推荐(0) 编辑

摘要:User对象属性获取如User中有username和password字段获取username属性<s:property value="user.username" />获取password属性<s:property value="user.password" />若User中又包含定义了address对象,address对象中包含有addr属性,则可以这样访问获取addr属... 阅读全文
posted @ 2010-02-03 13:53 macoo 阅读(2103) 评论(0) 推荐(0) 编辑

摘要:重复提交,struts2解决重复提交 阅读全文
posted @ 2010-02-02 17:49 macoo 阅读(426) 评论(0) 推荐(0) 编辑

摘要:struts.properties中加入属性:struts.locale=zh_CNstruts.i18n.encoding=GBK页面内部用GBK的编码,立即搞定 阅读全文
posted @ 2010-02-02 17:35 macoo 阅读(244) 评论(0) 推荐(0) 编辑

摘要:这个图很直白的说明了struts2 上下文 ActionContext中各个对象的逻辑关系: |--application | |--session context map---| |--value stack(root) | |--request | |--parameters | |--attr (searches page, request, session, then applica... 阅读全文
posted @ 2010-02-02 13:11 macoo 阅读(518) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示