Description: Struts solves the most common problems of web development. By basing your application on the Struts framework, you can reuse proven solutions and focus on what s unique to your own case. Struts is an open-source product distributed by the Apache Software Foundation. Struts in Action is a comprehensive introduction to the Struts framework. It covers initial design, data validation, database access, dynamic page assembly, localization, product configuration, and other important areas. It shows you how to use both JSP tags and Velocity templates. It carefully explains the Struts architecture and control flow, as well as how to extend framework classes. Platform: |
Size: 2417664 |
Author:roxana |
Hits:
Description: 公司内部用户、任务与计划管理的系统,B/S结构;该系统使用Struts框架与MySql数据库,Tomcat6.0作Web服务器,使用CVS进行源 代码版本控制,使用MyEclipse6.5作开发工具。
使用该系统的角色有系统管理员、主管和员工;系统管理员可以添加人员并分配其角色(主管和员工),主管可以制定任务、查看自已布置的任务、跟踪实施中的任 务、查看部下的人员;员工可以查看主管布置的任务、为任务制订计划、自已制订的计划的管理、反馈与提交计划;
实现了三种不同角色(系统管理员、主管和员工)的登陆与权限控制,内部采用了权限过滤器来控制权限,前端JSP(View)页面采用Struts标签库和 EL表达式语言,后端使用Struts Action(Control)作为控制器接受用户请求,并根据用户输入使用业务逻辑层与DAO层实现数据访问,并将业务数据封装到 JavaBean(Model)并用Action来决定跳转到相应的JSP页面访问JavaBean显示数据。
-Internal users, tasks and program management system, B/S structure the system uses the Struts framework and MySql database, Tomcat6.0 for Web server, use CVS for source code version control, use MyEclipse6.5 for development tools.
Roles using the system administrator, supervisors and employees system administrators can add staff and assign its role (managers and employees), head of the task can be formulated, see their own layout tasks, tracking the implementation of the tasks, view the underlying staff staff can view the task in charge arrangement for the task of planning, the management of their own development plans, feedback and submit a plan
To achieve three different roles (system administrator, managers and employees) of landing and access control, the internal use of the authority to control the permissions filter, front-end JSP (View) page using Struts tag libraries and the EL expression language, back-end use Struts Action (Control) as the controller to accept u Platform: |
Size: 1573888 |
Author:何森 |
Hits:
Description: 在struts、spring、hibernate三个框架的基础上,分层搭建:
model层:主要存放数据库中的表反转后的java及xml文件
DAO 层:存放对各表中数据的操作,是一个接口层
DAOImpl层:对DAO中方法的实现
service 层:业务逻辑层
serviceImpl层:对service层方法的实现
action层:控制页面跳转
JSP层:主要是页面的设计 直接接触用户的层-In struts, spring, hibernate on the basis of the three frameworks, hierarchical structures: model level: the main storage of the database table after reverse java and xml file DAO layer: the data stored on the operating table, is an interface layer DAOImpl layer: the method of implementation of DAO service layers: business logic serviceImpl layer: the implementation of the service layer method of action layer: control page Jump JSP layer: The main page design is the direct contact with the user' s level Platform: |
Size: 28627968 |
Author:吴明 |
Hits:
Description: 系统逻辑结构
在struts、spring、hibernate三个框架的基础上,分层搭建:
model层:主要存放数据库中的表反转后的java及xml文件
DAO 层:存放对各表中数据的操作,是一个接口层
DAOImpl层:对DAO中方法的实现
service 层:业务逻辑层
serviceImpl层:对service层方法的实现
action层:控制页面跳转
JSP层:主要是页面的设计 直接接触用户的层-System logical structure in the struts, spring, hibernate on the basis of the three frameworks, hierarchical structures: model level: the main storage of the database table after reverse java and xml file DAO layer: the data stored on the operating table is an interface layer DAOImpl layer: the method of implementation of DAO service layers: business logic serviceImpl layer: the implementation of the service layer method of action layer: control page Jump JSP layer: The main page design is the direct contact with the user' s level Platform: |
Size: 29644800 |
Author:吴明 |
Hits:
Description: 1.使用struts2+spring3+hibernate3整合实现用户CRUD功能。
2.使用多种配置方式
A.将hibernate从外部导入,使用MySQL作为数据库。
B.将hibernate实体映射集成到spring配置文件中。
3.使用传统的配置文件集成框架。
4.注意以下问题:
A.当使用spring管理struts2的 action时要注意需在struts2的action配置文件中添加
<constant name="struts.objectFactory" value="spring" />,并且需要
将struts2-spring-plugin-2.2.1.jar添加到classpath中去。
B.Demo默认Hibernate的DataSource、HibernateProperties、MappingResources
信息配置到applicationContext.xml文件中。如果使用Hibernate.cfg.xml配置这些
信息,需要在applicationContext.xml文件中将configLocation这个属性去掉注释,
并将其他的property注释或删除。-. To use struts2+spring3+hibernate3 integrated user CRUD functions. 2. Use a variety of configurations A. will hibernate imported from outside, using MySQL as the database. B. hibernate entity mapping integrated into the spring configuration file. 3 using a traditional configuration file integration framework. Note the following question: A. When using spring struts2' s action to pay attention to the need to add in the the struts2 action configuration file <constant name="struts.objectFactory" value="spring" /> And struts2-spring-plugin-2.2.1.jar added to the classpath. The the B.Demo default Hibernate DataSource, HibernateProperties, MappingResources configuration to applicationContext.xml file. If you are using Hibernate.cfg.xml configure these uncomment this attribute in applicationContext.xml file will configLocation, and other property annotation or deleted. Platform: |
Size: 16137216 |
Author:张华 |
Hits: