分模块编程 配置多个struts-config
来源:互联网 发布:产品过程特性矩阵图 编辑:程序博客网 时间:2024/05/16 08:27
1,配置多个struts-config 示例:struts-config-upload .xml (就是命名上要遵循规则)
2,示例:
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd"><struts-config> <data-sources /> <form-beans> <form-bean name="uploadForm" type="cn.veryedu.form.UploadForm"></form-bean> </form-beans> <global-exceptions /> <global-forwards /> <action-mappings> <action path="/upload" type="cn.veryedu.action.UploadAction" name="uploadForm"> </action> </action-mappings> <controller maxFileSize="100000" bufferSize="8192"></controller> <message-resources parameter="ApplicationResources" /></struts-config>
3,配置web.xml
<init-param> <param-name>config/upload</param-name> <param-value>/WEB-INF/struts-config-upload.xml</param-value> </init-param>4,将jsp/html页面放到 一个名为upload文件夹中
- 分模块编程 配置多个struts-config
- 配置多个struts-config.xml
- 配置Struts应用使用多个struts-config.xml文件
- struts1.2如何配置多个struts-config.xml
- struts 多模块配置
- struts 多模块配置
- 使用多个struts-config配置文件,模块化
- 使用多个struts-config配置文件,模块化
- 使用多个struts-config配置文件,模块化
- Struts struts-config.xml 配置
- Struts struts-config.xml配置
- struts 使用多个配置文件 struts-config.xml
- Struts中使用多个配置文件 struts-config.xml
- struts-config.xml 配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config配置数据源
- Struts-config 常用配置
- asp.net 常见问题收集整理(不断收集中)
- 如何学好C语言
- ArcGIS API For Flex4+Papervision3d实现3D地图浏览 (转帖)
- 程序员眼中的编程语言
- 编程之美2.11——寻找最近点对(POJ 3714)
- 分模块编程 配置多个struts-config
- 深入理解C语言
- 消息中间件 Apache Qpid 简介,第 2 部分
- Django开发中整合新浪微博API
- 今晚上去踢球了
- android 按键处理
- HTML5,修改浏览器地址栏的URIL而不刷新页面代码
- 各种比较,ObjectEquals
- Flex+Papervision3D三维技术研究(基础篇二)(转帖)