Chapter 5
JavaServer Pages Technology
JavaServer Pages (JSP) technology allows you to easily create web content that has both static and dynamic components. JSP technology makes available all the dynamic capabilities of Java Servlet technology but provides a more natural approach to creating static content.
The main features of JSP technology are as follows:
-
A language for developing JSP pages, which are text-based documents that describe how to process a request and construct a response
-
An expression language for accessing server-side objects
-
Mechanisms for defining extensions to the JSP language
JSP technology also contains an API that is used by developers of web containers, but this API is not covered in this tutorial.
JSP技术
JSP技术可以让你轻松地创建网页的内容,静态和动态两种成分。JSP技术通过使用Servlet使建立动态内容能力成为可能,并且提供了一种更加自然的方法用来创建静态内容。
JSP技术的主要特点如下:
JSP页面基于文本文件,描述了如何处理一个请求并建构回应。
具有访问服务器端的对象的表达式。
具有定义扩展JSP表达式的机制。
本文介绍了JavaServer Pages (JSP) 技术,一种用于创建具有静态和动态组件的网页内容的技术。JSP提供了创建静态内容的自然方式,并允许访问服务器端对象,同时还支持扩展机制。

695

被折叠的 条评论
为什么被折叠?



