However, some groups have developed alternative Java-based technologies to try to address these deficiencies. This, in our judgment, is a mistake. Using a third-party tool like Apache Struts that augments JSP and servlet technology is a good idea when that tool adds sufficient benefit to compensate for the additional complexity. 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 JSP-compatible 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 2.0 expression language address two of the most well-founded 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.本文来自辣.文,论-文·网原文请找腾讯32,49114
10.4 Misconceptions About JSP
Forgetting JSP Is Server-Side Technology
Here are some typical questions Marty has received (most of them repeatedly).
• Our server is running JDK 1.4. So, how do I put a Swing component in a JSP page?
• How do I put an image into a JSP page? I do not know the proper Java I/O commands 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?
上一页 [1] [2] [3] [4] [5] [6] [7] 下一页
jsp英文参考文献和翻译 第4页下载如图片无法显示或论文不完整,请联系qq752018766