Preface Until recently, JavaServer Pages (JSP) has, for the most part, been accessible only to Java developers. That's because JSP did not provide a standard set of tags for common functionality or a scripting language for page authors. The lack of those essential features meant that JSP developers had to embed Java code in JSP pages or implement custom tags that encapsulated that Java code. Either way, they had to be well versed in the Java programming language to effectively use JSP. To implement maintainable and extensible Web applications, developers must decouple business and presentation logic. Without an expression language or standard tag library, JSP pages often contained a great deal of Java code, which allowed easy access to business logic. That Java code and the inevitable related business logic tightly coupled JSP pages with the underlying data model, which resulted in brittle systems that were difficult to modify or extend. The JSP Standard Tag Library (JSTL) provides a scripting language and set of standard tags that make JSP accessible to page authors and make it much easier to separate business and presentation logic. Those benefits allow page authors to focus on a Web application's presentation, while Java developers implement business logic, which in turn makes those applications much easier to implement, maintain, and extend. Because JSTL has such a profound effect on the development of Java-based Web applications as a whole, it is one of the most important new developments for server-side Java. 1.1 What This Book Is About This book discusses all aspects of JSTL, including a thorough examination of the expression language and JSTL's tags (which are commonly known as actions). I assume that readers are already familiar with the basics of servlets and JSP, so those topics are not discussed in this book. See "This Book's Audience" for more information about what level of experience is assumed for readers. 1.2 The Servlet and JSP APIs This Book Depends Upon JSTL only works with servlet containers that support the Servlet 2.3 and JSP 1.2 APIs. To run this book's examples, you will need such a servlet container; for example, Resin 2.1.2 or Tomcat 4.1.3; see "Downloading and Installing a Servlet Container" on page 26 for more information about downloading and installing those servlet containers. 1.3 The Book's Web Site This book has a companion Web site at http://www.core-jstl.com . N.B. This is the correct URL. The one printed in the book is wrong. - Ed. That Web site provides documented source code for all of this book's examples. 1.4 How This Book's Code Was Tested All of the code examples in this book were tested with Resin 2.1.2 and Tomcat 4.1.3. See "The Book's Web Site" for more information about downloading that code. 1.5 This Book's Audience This book was written for Java developers with a basic understanding of servlets and JSP. If you are new to servlets and JSP, I recommend the following books for your first book on those topics: Core Servlets and JSP by Marty Hall, Sun Microsystems Press Advanced JavaServer Pages by David Geary, Sun Microsystems Press Java Servlet Programming by Jason Hunter, O'Reilly Web Development with JavaServer Pages by Fields and Kolb, Manning 1.6 How To Use This Book The majority of this book is written in a tutorial style that illustrates how to make the most of JSTL's expression language and actions. The last chapter in the book is a reference for the JSTL actions. That reference provides detailed syntax information for each JSTL action, in addition to a short description of the action and its constraints and error handling. Each action also is accompanied by an In a Nutshell section that provides enough information about the action to get you started. You can use the reference chapter in one of two ways. First, it may be a good place to start when you are using a JSTL action for the first time. Once you understand the action's syntax and its intent, you will probably want to read more about the action in the applicable chapter where it's discussed in detail. Second, you should use the reference to help you use JSTL actions after you understand their purpose and intent; for example, the action, which is discussed in detail in "Formatting and Parsing Numbers" on page 310 and summarized in "Formatting Actions" on page 509 provides 12 attributes. It can be difficult to remember all of those attributes and how they work together. Instead of trying to unearth that specific information from the "Formatting Actions" chapter beginning on page 308, you would be better off looking up those attributes in the "JSTL Reference" chapter beginning on page 464.
评分
评分
评分
评分
作者在理论阐述上的深度明显不足,很多核心概念的介绍蜻蜓点水,缺乏必要的数学推导或底层原理的剖析。比如,当涉及到某些高级的模板处理优化时,书中仅仅给出了“这样做效率更高”的结论,却完全没有解释其背后的时间复杂度变化,也没有引用任何性能测试数据来支撑这一论断。这使得我这种追求知其所以然的读者感到极度空虚,仿佛只被喂食了成品而没有学到烹饪的技巧。读完相关章节后,我必须得去查阅其他更权威的资料才能真正理解那些机制是如何运转的,这大大降低了这本书作为主要学习材料的价值。如果只是想了解某个技术名词的表面含义,那随便搜一下搜索引擎可能都比这本书来得快。它更像是一份高层会议的摘要,把所有结论都摆出来了,但把构建这些结论的过程完全省略了,对于深入学习者而言,这本书的贡献微乎其微,更像是停留在“是什么”的层面,对“为什么”和“怎么做到的”避而不谈。
评分这本书的排版简直是一场灾难,看得我眼睛都快花了。首先,字体大小的设置毫无章法,有些地方小得像蚂蚁爬,有些地方又大得像广告牌,读起来一点连贯性都没有。更要命的是,章节之间的过渡生硬得像被生生扯断,完全没有逻辑上的顺承感。我记得有一次找一个关键概念,翻了好几页才勉强定位,这中间穿插的无关紧要的插图和边栏简直是故意的干扰。而且,印刷质量也令人不敢恭维,墨迹边缘模糊不清,有时候还能看到纸张纤维的粗糙纹理,完全不像是一本专业的软件开发书籍该有的水准。我完全无法沉浸在学习的过程中,光是跟上作者的思路就耗费了巨大的精力,感觉像是徒步穿越一片荆棘丛林,而不是在知识的殿堂里徜徉。希望出版社能重视一下基础的装帧和校对工作,否则再好的内容也会被这些低级错误掩盖住光芒。这本书在物理呈现上的粗糙感,让我对其中内容的权威性和专业性也产生了深深的怀疑。
评分这本书的叙事节奏把握得极其糟糕,一会儿快得像机关枪扫射,一会儿又慢得像老牛拉破车。在介绍基础语法结构时,作者用了将近三分之一的书篇幅去重复讲解那些在任何Java或Web开发入门书籍中都会涵盖的基础知识,读起来让人昏昏欲睡,感觉像是在强行凑字数。然而,一旦进入到稍微复杂一些的集成或部署环节,作者的态度却一百八十度大转弯,所有关键步骤都是“下一步,您应该知道怎么做”,然后直接跳到了最终成果的展示。这种教育上的不平等对待,让初学者望而却步,也让有经验的读者感到不耐烦。技术书籍的学习曲线理应是平滑递进的,但这本书却制造了无数的陡坡和平台期,严重影响了阅读者的学习心流。我花了大量时间在那些对我来说是复习内容的冗长开场白上,却在真正需要细致指导的地方发现自己处于一片信息荒漠之中,实在让人抓狂。
评分这本书的案例实践部分,说实话,感觉像是从十年前的某个技术论坛上直接复制粘贴过来的,缺乏与当前主流开发环境的有效结合。讲解的架构模型陈旧,所使用的第三方库版本号都已经是古董级别了,我尝试在我的现代IDE上跑一遍示例代码,结果是各种依赖冲突和废弃方法的报错,花了整整一个下午才勉强让它们跑起来,而且跑出来的效果也与书中描述的“优雅、高效”相去甚远。更别提代码风格了,变量命名混乱,注释稀疏得可怜,很多关键步骤的实现细节被一笔带过,仿佛读者已经具备了超越作者的经验。我期待的是一本能够指导我构建符合当前行业标准应用的实战手册,而不是一本只能供人缅怀往昔技术辉煌的“数字博物馆藏品”。对于想利用这本书快速上手、解决实际问题的工程师来说,这无疑是一种令人沮丧的体验,感觉自己被丢到了一个过时的技术孤岛上,还得自己动手搭建桥梁。
评分全书的语言风格和专业术语的使用上,存在着一种令人费解的自相矛盾。一方面,作者在某些段落中试图用一种过于口语化、甚至略带戏谑的语气来解释复杂的编程概念,这在严肃的技术讨论中显得非常不专业,削弱了内容的可信度。另一方面,在引用官方文档或规范时,又突然切换到极其晦涩难懂的术语堆砌,使得前后的语气衔接极其突兀。更令人恼火的是,书中经常出现前后不一致的术语对应情况,比如同一个技术特性,在不同章节里被赋予了不同的简称或者不同的正式名称,这让读者在脑海中建立知识体系时,总需要不断地进行交叉比对和纠错,极大地消耗了认知资源。一本优秀的参考书应该提供清晰、统一的语言框架,这本书在这方面的努力显然是失败了,它更像是一个经验丰富的程序员的个人笔记集锦,未经编辑和规范化处理就直接出版了,缺乏出版物应有的审校和标准化的流程把控。
评分 评分 评分 评分 评分本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2026 book.quotespace.org All Rights Reserved. 小美书屋 版权所有