applicationContext.xml

hibernate.cfg.xml

org.hibernate.dialect.MySQLDialect
none 
true
update
 
   
   
 

jdbc.properties

jdbcUrl		= jdbc:mysql://localhost:3306/ItcastOAdriverClass	= com.mysql.jdbc.Driveruser		= rootpassword	=123

log4j.properties

### direct log messages to stdout ###log4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.Target=System.outlog4j.appender.stdout.layout=org.apache.log4j.PatternLayoutlog4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n### direct messages to file hibernate.log ####log4j.appender.file=org.apache.log4j.FileAppender#log4j.appender.file.File=hibernate.log#log4j.appender.file.layout=org.apache.log4j.PatternLayout#log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n### set log levels - for more verbose logging change 'info' to 'debug' ###log4j.rootLogger=debug, stdout#log4j.logger.org.hibernate=info#log4j.logger.org.hibernate=debuglog4j.logger.org.cn.itcast.oa=debug

struts.xml

/test.jsp
 /WEB-INF/jsp/roleAction/list.jsp
 /WEB-INF/jsp/roleAction/saveRoleUI.jsp
role_list
 /WEB-INF/jsp/departmentAction/list.jsp
 /WEB-INF/jsp/departmentAction/list.jsp
 /WEB-INF/jsp/departmentAction/saveDepartmentUI.jsp
department_showBypage?parentId=${parentId}

web.xml

  
org.springframework.web.context.ContextLoaderListener
  
contextConfigLocation
  
classpath:applicationContext*.xml
struts2
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
struts2
/*
index.jsp

Department.hbm.xml