struts 2 学习笔记 1

使用过一段时间的struts1,感觉挺好的一个框架,最近打算自己开发点东西,现在看来struts2比较流行,仔细看了看相关文档,感觉有必要学习使用一下2,于是下载了5 May 2011 - Struts 2.2.3 General Availability Release,按照官方的例子一步一步学习。

学习过程中,发现有些错误还是需要总结记录以下的:

 

A、一些网址:

struts官方主页:http://struts.apache.org/

学习文档链接:struts官方主页右侧 Development 下的 Struts 2.x Draft Docs ,网址:http://struts.apache.org/2.x/index.html,单击Get started,进入:http://struts.apache.org/2.x/docs/home.html,然后单击 Tutorials ,再单击Getting Started ,进入:http://struts.apache.org/2.x/docs/getting-started.html

 

 

 

 

B、官方的例子【Getting Started】

How To Create A Struts 2 Web Application

Hello World Using Struts 2

Using Struts 2 Tags

Coding Struts 2 Actions

Processing Forms

Form Validation

Message Resource Files

Exception Handling

Debugging Struts

Struts 2 Form Tags

Form Validation Using XML

Wildcard Method Selection

Struts 2 Themes

Spring and Struts 2

Struts 2 Annotations

Introducing Interceptors

 

我使用的是ANT版的例子来学习的,Create Struts 2 Web Application With Artifacts In WEB-INF lib and Use Ant To Build The Application

例子的源码可以从Google Code上下载,链接: http://code.google.com/p/struts2-examples/downloads/list.

 

C、开发环境

windows XP sp3

Myeclipse 8.6-20100723

tomcat 6.0.29

java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)

 

D、其它

 

 

 

 

----------------------------------------待续......

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值