^ ^给Struts 2初学者的建议

1. 忘记Struts 1;
2. 遍阅《Starting Struts 2》;
3. 跳过Struts 2.0, 从Struts 2.1.8.1开始;
4. 遇到问题, 首先想到《Apache Struts 2 Documentation》;
5. 初期跟着Bootstrap学, 然后跟着struts-2.1.8.1-all.zip里的apps搞;
6. 后期用好Guides.

下载《Starting Struts 2》[url]http://www.infoq.com/cn/minibooks/starting-struts2[/url]
下载 struts-2.1.8.1-all.zip [url]http://apache.etoak.com/struts/binaries/struts-2.1.8.1-all.zip[/url]
在线《Apache Struts 2 Documentation》 [url]http://struts.apache.org/2.1.8.1/docs/home.html[/url]
在线 Bootstrap [url]http://struts.apache.org/2.1.8.1/docs/bootstrap.html[/url]
在线 Guides [url]http://struts.apache.org/2.1.8.1/docs/guides.html[/url]

附:
《Apache Struts 2 Documentation》为struts-2.1.8.1-all.zip里面的docs/docs/home.html;
同时附上《Starting Struts 2》的中文版和英文版, 免得去注册下载.


题外话:
英语看不懂就硬搞, 拿词霸、Google翻译、Google字典来戳. 戳得要死的时候, 就可以不用了.
最开始一直忽略api和reference, 后来才发现真他妈是个好东西. 没有必要浪费时间紧试, 绕大圈子.

[color=green]-----------------------------------------------------------------------------------------[/color]

[color=gray]2010年04月30日更新:
大家的热情让我觉得弄这个帖子很值, 谢谢大家^^[/color]

[quote="whaosoft"]呵呵 支持一样做公益事业的 留个别的什么联系方式吧lz[/quote]
alx696[at]gmail.com

[quote="archerfrank"]为啥starting struts2文档时2.0.6的,不是2.1的[/quote]
这本书是随Struts 2.0出来的, 是对Struts 2的一个概述, 不涉及细节.
至于作者有没有写新的东西, 就不知道了.

[quote="seaizon"]楼主,总结的不错!正在学习strits2,很有帮助。请问《Struts2轻松入门V3.0》这本书如何?现在正在看...[/quote]
既然有中文的书看, 就看看吧. 不过还是推荐啃英文Guides和API, 比较国内的有些书比较烂...

[quote="NumbCoder"]楼主好淫啊![/quote]
不荡就好.

[quote="treblesoftware"]为什么要从2.1开始???不解。[/quote]
[quote="wilddonkey"]我是从2.0.8开始学习的,2.1变化很大?[/quote]
[quote="lost_alien"]为啥要从2.1开始 ?[/quote]
虽然Struts 2.0到Struts 2.1的改动并不大, 但是改进值得肯定.
不仅是要Struts 2.1, 还要是Struts 2.1.8.1. 为什么?
下面引用自1: Plugin Developers Guide [url]http://struts.apache.org/2.1.8.1/docs/plugin-developers-guide.html[/url]
下面引用自2: web.xm [url]http://struts.apache.org/2.1.8.1/docs/webxml.html[/url]
[quote]
# Convention Plugin (2.1.3+)
# Javatemplates Plugin (2.1.3+)
# OVal Plugin (2.1.7+)
# OSGi Plugin (2.1.7+)
# JSON Plugin (2.1.7+)
# Embedded JSP Plugin (2.1.7+)
# REST Plugin (2.1.1+)
...
Changed Filter Structure in Struts >= 2.1.3
...
Why the Filter is mapped with /* and how to configure explicit exclusions (since 2.1.7)
...
[/quote]
下面引用自: Struts 2.1发布 [url]http://www.infoq.com/cn/news/2009/02/Struts2-1[/url]
[quote]
2.0和2.1之间的最大区别是什么?
2.1版修改了很多错误(有关Struts和Xwork的),添加了新的插件,例如REST、Convention和Java Templates,这些都体现了我们的发展方向。
[/quote]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值