JavaServer Pages Overview

Contents
 
Benefits for Developers
JSP Technology and Java Servlets
Community Background
 
JavaServer Pages (JSP) technology enables Web developers and designers to rapidly develop and easily maintain, information-rich, dynamic Web pages that leverage existing business systems. As part of the Java technology family, JSP technology enables rapid development of Web-based applications that are platform independent. JSP technology separates the user interface from content generation, enabling designers to change the overall page layout without altering the underlying dynamic content.
 
JSP技术可用于快速开发平台独立的Web-based Application。JSP技术使用户界面分离与内容的生成,使得开发者不用改变底层动态内容就可以改变所有页面层。
 
Benefits for Developers
If you are a Web page developer or designer who is familiar with HTML, you can:
  • Use JSP technology without having to learn the Java language: You can use JSP technology without learning how to write Java scriplets. Although scriptlets are no longer required to generate dynamic content, they are still supported to provide backward compatibility.
  • Extend the JSP language: Java tag library developers and designers can extend the JSP language with "simple tag handlers," which utilize a new, much simpler and cleaner, tag extension API. This spurs the growing number of pluggable, reusable tag libraries available, which in turn reduces the amount of code needed to write powerful Web applications.
  • Easily write and maintain pages: The JavaServer Pages Standard Tag Library (JSTL) expression language is now integrated into JSP technology and has been upgraded to support functions. The expression language can now be used instead of scriptlet expressions.

(1)不必须去学习Java语言就可以使用JSP技术;
(2)可以通过Tag来扩展JSP语言;
(3)容易写和维护页面。 

JSP Technology and Java Servlets
JSP technology uses XML-like tags that encapsulate the logic that generates the content for the page. The application logic can reside in server-based resources (such as JavaBeans component architecture ) that the page accesses with these tags. Any and all formatting (HTML or XML) tags are passed directly back to the response page. By separating the page logic from its design and display and supporting a reusable component-based design, JSP technology makes it faster and easier than ever to build Web-based applications.
JSP技术用类似XML的Tag封装那些为页面生成内容的逻辑。Application逻辑驻留在server-based resources中(如JavaBean组建体系),而页面可以利用Tag来访问这些resources。任何格式化的(HTML or XML)Tag被直接传递回response页面。依靠从设计和现实上分离页面逻辑,以及支持基于可重用组建的设计,JSP技术使它比原来越快越容易地构建Web-based Application。

JavaServer Pages technology is an extension of the Java Servlet technology. Servlets are platform-independent, server-side modules that fit seamlessly into a Web server framework and can be used to extend the capabilities of a Web server with minimal overhead, maintenance, and support. Unlike other scripting languages, servlets involve no platform-specific consideration or modifications; they are application components that are downloaded, on demand, to the part of the system that needs them. Together, JSP technology and servlets provide an attractive alternative to other types of dynamic Web scripting/programming by offering: platform independence; enhanced performance; separation of logic from display; ease of administration; extensibility into the enterprise; and, most importantly, ease of use.
JSP技术是Java Servlet技术的扩展。Servlet是平台独立的服务端模块,它可以无缝地适应到一个Web server framework,而且可以以最小的花费,维护和支持来扩展一个Web server的性能。不像其他的scripting语言,servlet涉及无具体平台的考虑和修改。它们的应用组件按需被下载到部分需要的系统。JSP技术和servlet一起提供一个吸引的可选方法给其它的动态Web编程,因为它们提供了平台独立性,加强了的性能,业务逻辑与视图的分离,容易的管理,面向企业的可扩展性,而且最重要的是易用。

Today servlets are a popular choice for building interactive Web applications. Third-party servlet containers are available for Apache Web Server, Microsoft IIS, and others. Servlet containers are usually a component of Web and application servers, such as BEA WebLogic Application Server, IBM WebSphere, Sun Java System Web Server, Sun Java System Application Server, and others.
 
Community Background
The JSP specification is the product of industry-wide collaboration with industry leaders in the enterprise software and tools markets, led by Sun Microsystems. Sun has made the JSP specification freely available to the developer community, with the goal that every Web server and application server will support the JSP interface. JSP pages share the "Write Once, Run Anywhere" advantages of Java technology. JSP technology is a key component in the Java 2 Platform, Enterprise Edition, Sun's highly scalable architecture for enterprise applications.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值