计算机专业毕业外文翻译--jsp技术概述-jsp程序(编辑修改稿)内容摘要:
erate HTML on the client, building parts of the Web page as the browser loads the document. This is a useful capability and does not normally overlap with the capabilities of JSP (which runs only on the server). JSP pages still include SCRIPT tags for JavaScript, just as normal HTML pages do. In fact, JSP can even be used to dynamically generate the JavaScript that will be sent to the client. So, JavaScript is not a peting technology。 it is a plementary one. It is also possible to use JavaScript on the server, most notably on Sun ONE (formerly iPla), IIS, and BroadVision servers. However, Java is more powerful, flexible, reliable, and portable. Versus WebMacro or Velocity JSP is by no means perfect. Many people have pointed out features that could be improved. This is a good thing, and one of the advantages of JSP is that the specification is controlled by a munity that draws from many different panies. So, the technology can incorporate improvements in successive releases. However, some groups have developed alternative Javabased technologies to try to address these deficiencies. This, in our judgment, is a mistake. Using a thirdparty tool like Apache Struts that augments JSP and servlet technology is a good idea when that tool adds sufficient benefit to pensate for the additional plexity. But using a nonstandard tool that tries to replace JSP is a bad idea. When choosing a technology, you need to weigh many factors: standardization, portability, integration, industry support, and technical features. The arguments for JSP alternatives have focused almost exclusively on the technical features part. But portability, standardization, and integration are also very important. For example, the servlet and JSP specifications define a standard directory structure for Web applications and provide standard files (.war files) for deploying Web applications. All JSPpatible servers must support these standards. Filters can be set up to apply to any number of servlets or JSP pages, but not to nonstandard resources. The same goes for Web application security settings. Besides, the tremendous industry support for JSP and servlet technology results in improvements that mitigate many of the criticisms of JSP. For example, the JSP Standard Tag Library and the JSP expression language address two of the most wellfounded criticisms: the lack of good iteration constructs and the difficulty of accessing dynamic results without using either explicit Java code or verbose jsp:useBean elements. Misconceptions About JSP Forgetting JSP Is ServerSide Technology Here are some typical questions Marty has received (most of them repeatedly). • Our server is running JDK . So, how do I put a Swing ponent in a JSP page? • How do I put an image into a JSP page? I do not know the proper Java I/O mands to read image files. • Since Tomcat does not support JavaScript, how do I make images that are highlighted when the user moves the mouse over them? • Our clients use older browsers that do not understand JSP. What should we do? • When our clients use View Source in a browser, how can I prevent them from seeing the JSP tags? All of these questions are based upon the assumption that browsers know something about the serverside process. But they do not. Thus: • For putting applets with Swing ponents into Web pages, what matters is the browser39。 s Java version—the server39。 s version is irrelevant. If the browser supports the Java 2 platform, you use the normal APPLET (or Java plugin) tag and would do so even if you were using nonJava technology on the server. • You do not need Java I/O to read image fil。计算机专业毕业外文翻译--jsp技术概述-jsp程序(编辑修改稿)
相关推荐
Cookie: Cookie is stored in Web server on the user39。 s hard drive section of the text. Cookie allow a Web site on the user39。 s puter to store information on and then get back to it. For example, a
hat couldn_t otherwise because of inpatibility interface (from Design Patterns Elements of Reusable OO Software by Gof). The client in this instance is the ActionServlet that knows nothing about our
abled for the project. It39。 s unnecessary to debug an application locally, but we can make sure all the debug information is available. Rightclick on the Java project, select Debug As and select
商业计划书(乾隆养生酒) 深圳市弘历酒业有限公司商业计划书摘要目 录1、公司概述 2、公司的研究与开发3、产品管理团队 4、市场与竞争分析5、生产经营计划 6、财务分析和融资需要7、风险因素 8、风险投资的退出方式公司概述 深圳市弘历酒业有限公司成立于 2008年 12月 11日,注册号:440301103762071,经营范围:乾隆养生酒批发,已取得酒类批发许可证、食品卫生许可证。
access. The Inter has truly bee a way of life in our time and era, and is evolving so quickly its hard to determine where it will go next, as puter and work technology improve every day. HOW IT WORKS
hedule, or with shifts being missed because they could not consult the schedule from home, our librarians weled the addition of an online reference desk schedule in Hobbes (see Figure 4). Four