programming jakarta struts 学习心得一

  1. 其他相关框架:

           Barracuda

Cocoon

Expresso

Freemaker

Velocity

Webmacro

Maverick

SiteMesh

Turbine

Webwokr

看样子还有很多不知道的东西啊,就算只需要看其中的一到两个,也是需要时间啊。

请求的作用域:

  • 当前请求
  • 当前页面
  • 会话期内
  • 应用程序作用域

转发与重定向:

     重定向时当前作用域内对象无效,reponse.sendRedirect();

    转发时可以保留当前作用域内对象,RequestDispatcher.forward( req,res)

    三个区别:

  • 是否保留请求中内容。
  • 转发的工作都是在服务器端,不与客户端通信。
  • 转发中客户端浏览器的地址栏不显示转发后的地址。重定向则显示。

静态ActionForm类(相对DynaActionForm类而言)

  继承并重写父类的validator()方法进行验证

 继承并重写reset()方法

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Preface<br>Over the last few years, web development has turned a very important corner. Gone are the days when Java™ developers wrestled with a single JSP that contained presentation logic, database access via SQL, and navigational intelligence. Java web developers have learned from their mistakes, paid the price in debugging and maintenance time, and moved on.<br><br>The number and variety of readily available web frameworks today is immense. It's hard to point a browser at a Java technical site without finding a newly released web framework that's going to revolutionize the modern world. While some may see this as a bad thing that might divide the Java community, the truth is that the constant emergence of new frameworks is just evolution at work.<br><br>The design and construction of today's nontrivial web applications pushes developers to the limit of what's logically and physically possible. Myriad solutions are thrown at the problems these applications present. Some of the solutions stick, and as with human evolution, valuable characteristics are passed on in future generations of software. Other solutions do not—those that fail to serve the needs of users and add value usually fall by the wayside.<br><br>Through this evolutionary process, the Jakarta Struts framework (created by Craig R. McClanahan and donated to the Apache Software Foundation in 2000) has emerged as one of the best web frameworks available. This book covers Version 1.1, which contains many major enhancements over the previous Jakarta Struts release. If you are building applications, web-based or not, one of the main things you will learn from this book is that frameworks such as Struts are a great time investment.<br>

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值