摘要: asadmin set-log-levels javax.enterprise.system.tools.deployment=WARNING 阅读全文
posted @ 2014-04-23 14:14 Annie118 阅读(992) 评论(0) 推荐(0) 编辑
摘要: spring中加入log4j log4jConfigLocation classpath:log4j.properties org.springframework.web.util.Log4jConfigListener 阅读全文
posted @ 2014-04-23 13:39 Annie118 阅读(166) 评论(0) 推荐(0) 编辑
摘要: jsf的后台bean中使用spring定义的service,需要使用@ManagedProperty,并且要具有该属性的getter/setter方法。package cn.catr.lm.idc.controller;import cn.catr.lm.idc.service.UserServic... 阅读全文
posted @ 2014-04-23 13:06 Annie118 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 新建maven工程,选择web工程 增加jsf框架,加入primefaces 部署到服务器,在浏览器中打开页面,这是primefaces框架的页面。 此时工程web目录下有如下文件 web.xml文件 javax.faces.PROJECT_S... 阅读全文
posted @ 2014-04-23 10:38 Annie118 阅读(561) 评论(0) 推荐(0) 编辑
摘要: spring版本使用4,jsf版本2.2jsf的配置文件faces-config.xml org.springframework.web.jsf.el.SpringBeanFacesELResolver spring配置文件spring-config.xml ... 阅读全文
posted @ 2014-04-23 09:29 Annie118 阅读(881) 评论(0) 推荐(0) 编辑