徒手建立struts2应用
来源:互联网 发布:js复合防水涂料多少钱 编辑:程序博客网 时间:2024/09/21 09:00
环境:Tomcat6.0 + eclipse3.5 + struts2.3.3
在Tomcat6.0的webapps中建立my文件夹
WEB-INF
将struts2.3.3的jar文件拷入lib文件夹中
复制struts的web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<welcome-file-list>
<welcome-file>login.jsp</welcome-file>
</welcome-file-list>
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app>
未完待续
- 徒手建立struts2应用
- “徒手”建立一个Struts2应用
- 徒手建立一个Web应用
- 徒手建立web项目
- 手动建立Struts2应用
- 【J2EE系列】—徒手建立Web应用(HTML+Servlet+Tomcat)
- 建立一个简单的 struts2 + json 应用
- struts2建立一个最简单的web应用
- 徒手打造一款PK 名片全能王 的名片识别应用
- 徒手打造一款PK 名片全能王 的名片识别应用
- 【菜鸟学Java】5:“徒手”创建一个Web应用
- 徒手hypervisor
- struts2建立步骤
- 使用struts2 建立Helloworld
- 用Idea建立Struts2工程
- struts2使用插件建立图表
- Struts-建立struts2的步骤
- struts2 项目j建立过程
- SVN用法详解
- 关于 Intent.makeRestartActivityTask
- GET方式传递表单数据需要注意的一个问题
- APP魔力:财富新秀的起点
- Linux系统内存相关信息获取
- 徒手建立struts2应用
- 缺少mysqli
- 经营的本质
- 在linux中查看线程数的三种方法
- 关于STM32 PB3 PB4 如何设置成普通GPIO的配置
- 任务调度命令crontab
- 数据分析师与数据科学家的区别
- Hibernate原理与应用
- ios 从网络下载图片,保存,并用imageview从保存中显示