Location:
Search - struts-config
Search list
Description: 一个初级示例,希望能帮到你,哈哈.
Platform: |
Size: 1617721 |
Author: lidongqingwind |
Hits:
Description: 在Struts中配置数据库连接池代码
<data-sources>-in Struts configuration database connection pool code
Platform: |
Size: 782 |
Author: liuyue |
Hits:
Description: Struts新闻管理系统
1.本程序为学习struts的朋友提供一个例子。
2.本程序部分实现AJAX功能,采用DWR框架。
3.程序运行环境为MYECLIPSE 5.0 + TOMACT 5.5 + ORACLE 9i
4.配置说明:将lib目录下的commons-pool-1.2.jar,commons-dbcp-1.2.jar,ojdbc14.jar复制到TOMACT目录下的COMMON下的LIB目录中。
5.需要修改cn.lingqi.tool包下面的DBConnection.java中的配置部分。以及WebRoot\\WEB-INF下的struts-config.xml的数据库配置部分。自己可以修改为MYSQL连接。-Struts an information management system. The procedures for the study struts friends provide an example. 2. The procedural part of achieving functional AJAX using DWR framework. 3. Procedures for the environment TOMACT MYECLIPSE 5.0 5.5 4 Oracle 9i. Configuration Note : lib directory of commons-pool-1.2.jar. commons - dbcp - 1.2.jar. ojdbc14.jar TOMACT copy of the directory COMMON under the LIB directory. 5. Cn.lingqi.tool packets need to amend the following DBConnection.jav a part of the configuration. And WebRoot \\ WEB-INF under the struts - config.xml database Configuration part. They can be revised as MYSQL link.
Platform: |
Size: 4968124 |
Author: qwqwqw |
Hits:
Description: Struts的核心是struts-config.xml配置文件,在这个文件里描述了所有的Struts组件
Platform: |
Size: 9862 |
Author: tian |
Hits:
Description: Struts新闻管理系统学习版简介: Struts新闻管理系统学习版说明 1.本程序为学习struts的朋友提供一个例子。 2.本程序部分实现AJAX功能,采用DWR框架。 3.程序运行环境为MYECLIPSE 5.0 + TOMACT 5.5 + ORACLE 9i 4.配置说明:将lib目录下的commons-pool-1.2.jar,commons-dbcp-1.2.jar,ojdbc14.jar复制到TOMACT目录下的COMMON下的LIB目录中。 5.需要修改cn.lingqi.tool包下面的DBConnection.java中的配置部分。以及WebRoot\WEB-INF下的struts-config.xml的数据库配置部分。自己可以修改为MYSQL连接。参考代码如下:
Platform: |
Size: 4968891 |
Author: wdlcyzbml@126.com |
Hits:
Description: struts中文文档资料-struts Chinese Documentation
Platform: |
Size: 1304576 |
Author: 李准 |
Hits:
Description: 在Struts中配置数据库连接池代码
<data-sources>-in Struts configuration database connection pool code
Platform: |
Size: 1024 |
Author: liuyue |
Hits:
Description: Struts新闻管理系统
1.本程序为学习struts的朋友提供一个例子。
2.本程序部分实现AJAX功能,采用DWR框架。
3.程序运行环境为MYECLIPSE 5.0 + TOMACT 5.5 + ORACLE 9i
4.配置说明:将lib目录下的commons-pool-1.2.jar,commons-dbcp-1.2.jar,ojdbc14.jar复制到TOMACT目录下的COMMON下的LIB目录中。
5.需要修改cn.lingqi.tool包下面的DBConnection.java中的配置部分。以及WebRoot\WEB-INF下的struts-config.xml的数据库配置部分。自己可以修改为MYSQL连接。-Struts an information management system. The procedures for the study struts friends provide an example. 2. The procedural part of achieving functional AJAX using DWR framework. 3. Procedures for the environment TOMACT MYECLIPSE 5.0 5.5 4 Oracle 9i. Configuration Note : lib directory of commons-pool-1.2.jar. commons- dbcp- 1.2.jar. ojdbc14.jar TOMACT copy of the directory COMMON under the LIB directory. 5. Cn.lingqi.tool packets need to amend the following DBConnection.jav a part of the configuration. And WebRoot \ WEB-INF under the struts- config.xml database Configuration part. They can be revised as MYSQL link.
Platform: |
Size: 4967424 |
Author: |
Hits:
Description: Struts的核心是struts-config.xml配置文件,在这个文件里描述了所有的Struts组件-Struts is the core of the struts-config.xml configuration file, in this document describes all the Struts components
Platform: |
Size: 9216 |
Author: tian |
Hits:
Description: struts validator验证框架
1、配置:
* 加入国际化配置在struts-config.xml文件中,如:
<message-resources parameter="MessageResources" />
* 提供国际化资源文件
* 引入validator插件在struts-config.xml文件中,如:
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property
property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
</plug-in>
* 提供validation.xml和validator_rules.xml文件,将此文件拷贝到WEB-INF下
2、validator服务器端验证
* 配置validation.xml文件
3、validator客户端验证(javascript)
) * 配置validation.xml文件
* 在jsp页面中包含< html:javascript>
* 对需要验证的表单定义onsubmit事件,其中事件名称为validate+ActionForm的名称,如:validateLoginForm -struts validator to verify the framework 1, configuration:* join the international allocation in the struts-config.xml file, such as: <message-resources parameter= MessageResources />* International* The introduction of resource file validator plug-in struts-config . xml file, such as: <plug-in className= org.apache.struts.validator.ValidatorPlugIn > <set-property property = pathnames value = /WEB-INF/validator-rules.xml,/WEB-INF/validation.xml /> </ plug-in>* provide validation.xml and validator_rules.xml document, copy this file to the WEB-INF under 2, validator server-side validation* validation.xml configuration file 3, validator client-side validation (javascript))* configuration file* validation.xml in jsp page contains <html: javascript>* on the need to verify the definition of the form onSubmit incident, in which case the name of validate+ ActionForm name, such as: validateLoginForm
Platform: |
Size: 1350656 |
Author: wuxiaodong |
Hits:
Description: ActionForward的使用
1、理解全局和局部ActionForward的概念
2、redirect的使用
3、struts-config.xml文件不允许动态修改
4、理解动态ActionForward,动态的ActionForward是可以运行期修改的
-ActionForward the use of 1, to understand global and local ActionForward concept 2, redirect the use of 3, struts-config.xml file does not allow dynamic modification 4, to understand the dynamic ActionForward, dynamic run-time ActionForward can be modified
Platform: |
Size: 1355776 |
Author: wuxiaodong |
Hits:
Description: struts-config.xml配置文件
st ruts-config.xml配置文件
st ruts-config.xml配置文件
st ruts-config.xml配置文件
-struts-config.xml
Platform: |
Size: 1024 |
Author: zhouwj |
Hits:
Description: struts-2.1.6-lib struts2类库-struts-2.1.6-lib
Platform: |
Size: 11305984 |
Author: sjl |
Hits:
Description: 有jsp的代码和wml的代码,可以实现手机登陆访问-jsp and wml
Platform: |
Size: 2225152 |
Author: lp |
Hits:
Description: struts+hibernate+spring完成简单的用户注册与登陆。hibernate自创表单(Oracle)。请自行修改applicationContext.xml连接数据库-struts+hibernate+spring base user reigster and login. hibernate auto steup database. Please config applicationContext.xml to connect database
Platform: |
Size: 15715328 |
Author: Eric Shen |
Hits:
Description: struts 框架中的 struts.xml配置文件的配置-struts framework configuration struts.xml profile
Platform: |
Size: 1024 |
Author: 白玉 |
Hits:
Description: strut-config configuration for connecting to MySQL
Platform: |
Size: 1024 |
Author: loson |
Hits:
Description: 基于SSH架构的消息管理系统项目:
1、创建相应的实体类,以及映射文件,并让hibernate自动创建相应的数据库
* 在hibernate.cfg.xml中添加相应的自动创建数据库表的属性配置
2、创建业务逻辑类(抽象业务逻辑接口,并且提供相应的实现类),并配置
* 在applicationContext-managers.xml中配置
3、创建ActionForm以及Action类,并配置
* 在struts-config.xml中配置
* 在applicationContext-actions.xml中配置
4、创建JSP文件
运行方法:
1、首先修改hibernate.cfg.xml文件,将其中的数据库连接,用户名,密码等修改为正确的数据
2、创建数据库表(启动Tomcat可自动创建)
3、插入初始化的用户(运行init_users.sql中的SQL语句可以插入几个测试用户)
4、登录,测试消息的发送和接收-message manage
Platform: |
Size: 18302976 |
Author: shine |
Hits:
Description: 这是一个医药管理系统的源码,它采用SSH2框架,即Struts2表现层+spring业务逻辑层+Hibernate持久层 实现,MySQL作为数据库层,JSP、ActionForm、Struts标签作为视图层,控制器层由Action、Struts-config.xml实现,持久层交给Hibernate API、Hibernate.cfg.xml完成,页面美工修饰由javaScript和jQuery实现-This is a medical management system source code, which uses SSH2 framework, the presentation layer Struts2+ spring+ Hibernate persistence layer logic layer, MySQL as the database layer, JSP, ActionForm, Struts tag as a view layer, the controller layer consists of Action, Struts-config.xml to achieve, persistence layer to the Hibernate API, Hibernate.cfg.xml completed page and the jQuery javaScript art achieved by the modification
Platform: |
Size: 8075264 |
Author: wayle |
Hits:
Description: Struts1的XML配置Struts-config.xml-Configure the Struts1 XML Struts-config.xml
Platform: |
Size: 1024 |
Author: 邵峰 |
Hits: