您好,欢迎光临本网站![请登录][注册会员]  
文件名称: (O
  所属分类: Java
  开发工具:
  文件大小: 1mb
  下载次数: 0
  上传时间: 2008-11-20
  提 供 者: Ste****
 详细说明: 另一本介绍struts开发的参考书,深入介绍了三层架构中的web层,以及struts开发的细节 pdf 英文 417 Table of Contents Chapter 1 Introduction...............................................................................9 Brief History of the Web ................................................................................................ 9 What are Java Servlets?................................................................................................ 11 JavaServer Pages Technology ............................................................................ .......... 14 JSP Model 1 and Model 2 Architectures ...................................................................... 16 Why is Model-View-Controller So Important?............................................................ 18 What is a Framework?.................................................................................................. 20 Creation of the Struts Framework ................................................................................ 21 Alternatives to Struts .................................................................................................... 22 Chapter 2 Inside the Web Tier ................................................................29 An Architecture Overview ........................................................................................... 29 The HTTP Request/Response Phase ............................................................................ 34 Struts and Scope ........................................................................................................... 40 Using URL Parameters................................................................................................. 42 Forward versus Redirect............................................................................................... 42 Chapter 3 Overview of the Struts Framework ......................................51 A Banking Account Example....................................................................................... 51 Looking at the Big Picture............................................................................................ 57 Struts Controller Components ...................................................................................... 58 Struts Model Components ............................................................................................ 66 The Struts View Components....................................................................................... 70 Multiple Application Support....................................................................................... 81 Summary ...................................................................................................................... 81 Chapter 4 Configuring the Struts Application ......................................83 Introduction to the Storefront Application ................................................................... 83 What is a Web Application?......................................................................................... 85 The Web Application Directory Structure.................................................................... 86 Web Application Deployment Descriptor .................................................................... 88 Configuring the web.xml file for Struts ........................................................................ 91 The Struts Configuration File..................................................................................... 101 The org.apache.struts.config Package........................................................................ 102 Struts Console Tool.................................................................................................... 121 Reloading the Configuration Files.............................................................................. 122 Chapter 5 Struts Controller Components ............................................123 The Controller Mechanism......................................................................................... 124 The Utilities Classes................................................................................................... 151 Chapter 6 Struts Model Components ...................................................155 The “M” in MVC ....................................................................................................... 155 What is a Business Object? ........................................................................................ 160 Persistence.................................................................................................................. 162 What does Struts Offer For the Model?...................................................................... 163 Building the Storefront Model.................................................................................... 164 Chapter 7 Struts View Components......................................................190 What exactly is a View? ............................................................................................. 190 What are ActionForms?.............................................................................................. 197 Using ActionErrors..................................................................................................... 207 Performing Presentation Validation ........................................................................... 212 Using Dynamic ActionForms..................................................................................... 213 Looking Ahead to JavaServer Faces .......................................................................... 215 Chapter 9 Extending the Struts Framework........................................218 What are Extension Points?........................................................................................ 218 General Extension Points ........................................................................................... 219 Controller Extension Points........................................................................................ 222 Extending View Components..................................................................................... 227 Extending the Model Components ............................................................................. 228 Downsides to Extending the Framework.................................................................... 231 Chapter 10 Exception Handling ..............................................................232 Java Exception Handling............................................................................................ 232 System versus Application Exceptions....................................................................... 237 Using Chained Exceptions ......................................................................................... 238 Exception Handling provided by Struts...................................................................... 241 Tying Up the Loose Ends ........................................................................................... 253 Exceptions in Custom Tags ........................................................................................ 254 Internationalized Exception Handling ........................................................................ 254 Conclusion.................................................................................................................. 255 Chapter 11 Using the Struts Validator ...................................................256 The Need for a Validation Framework....................................................................... 256 Installing and Configuring the Validator.................................................................... 257 Overview of Regular Expressions .............................................................................. 265 Using an ActionForm with the Validator............................................................... 265 Using the Validator Framework ................................................................................. 269 Creating your own Validation Rules .......................................................................... 270 The Validator and JSP Custom Tags.......................................................................... 272 Internationalizing the Validation ................................................................................ 275 Using the Validator Outside of Struts......................................................................... 276 Chapter 12 Internationalization and Struts ...........................................279 What is Internationalization?...................................................................................... 280 Support for I18N in Java ............................................................................................ 281 Internationalizing your Struts Applications................................................................ 288 Exception Handling and Internationalization ............................................................. 292 13 ............................................................................................293 Struts and Enterprise JavaBeans (EJB).............................293 Implementing the Storefront Service Using EJB........................................................ 295 Interfacing Struts to EJB ............................................................................................ 308 Chapter 14 Using Tiles .............................................................................320 Understanding Templates........................................................................................... 320 Installing and Configuring Tiles................................................................................. 326 Overview of Tiles....................................................................................................... 329 The Tiles Tag Library................................................................................................. 332 Using Definitions ....................................................................................................... 340 Internationalization Support with Tiles ...................................................................... 344 Chapter 16 Addressing Performance......................................................346 What is Good Performance?....................................................................................... 346 ...展开收缩
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: Struts programming O'Reilly
 输入关键字,在本站1000多万海量源码库中尽情搜索: