⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 320.html

📁 关于jsp的一些好文章 主要介绍一些关于JSP的应用技巧方面的东西
💻 HTML
字号:

<STYLE type=text/css>
<!--
body,td { font-size:9pt;}
hr { color: #000000; height: 1px}
-->
</STYLE>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD><TITLE>精选文章 >> Tomcat >> The Tomcat Servlet Engine from the Jakarta Project --from sun</title>
</head>
<body >

<p><IMG SRC="../image/jsp001_middle_logo.gif" WIDTH="180" HEIGHT="60" BORDER=0 ALT=""></p>

<table width=100% bgcolor="#cccccc" align=center cellpadding="2" cellspacing="0" border=1 bordercolorlight="#000000" bordercolordark="#FFFFFF">
<tr bgcolor="#EFF8FF"><td>
<a href=http://www.jsp001.com/list_thread.php?int_attribute=2>精选文章</a>
>> <a href=http://www.jsp001.com/list_thread.php?forumid=11&int_attribute=2>Tomcat</a>
>> The Tomcat Servlet Engine from the Jakarta Project --from sun [<a href=http://www.jsp001.com/forum/showthread.php?goto=newpost&threadid=320>查看别人的评论</a>]<br>

<hr><p>由 webmaster 发布于: 2001-02-08 12:57</p><p><img src="images/icons/icon11.gif" alt="Red face" border=0> </p><p>Developed by members of the Jakarta Project, Tomcat is a Java Servlet 2.2 servlet container and JavaServer Pages[tm] 1.1 implementation. There are other products like it, but Tomcat is the official reference implementation for these two technologies, and one of the few available that offers support for JSP 1.1. <br><br>Many people confuse Tomcat with Apache JServ. Tomcat is a Servlet API 2.2 and JSP 1.1 compliant container, while JServ is a Servlet API 2.0 compliant container that provides no support for JavaServer Pages. Early versions of Tomcat used some of the code written for JServ, especially the JServ Apache server adapter, but that's where the similarities ended. Tomcat now uses its own Apache server adapter, which will not work with JServ. <br><br>Deploying Tomcat <br>Tomcat 3.1, the latest quality release build, can be deployed as either a standalone product with its own internal Web server or in conjunction with several other Web servers including: <br><br><br>Apache, version 1.3 or later <br>Netscape Enterprise Server, version 3.0 or later <br>Microsoft Internet Information Server (IIS), version 4.0 or later <br>Microsoft Personal Web Server, version 4.0 or later <br><br>Tomcat requires a Java Runtime Environment conformant to JRE 1.1 or later, including any Java 2 Platform Enterprise Edition (J2EE[tm]) system. The Tomcat 3.1 build is easy to install and set up, as one of the new features included in this release is the automatic generation of Apache configuration files. <br><br>Deployment as Standalone Container <br>Even though you can deploy Tomcat as a standalone container, you need to address certain issues before making such a decision. Specifically, Tomcat has limitations in these areas: <br><br><br>Not as fast as Apache when it comes to static pages <br>Not as configurable as Apache <br>Not as robust as Apache <br><br>With this in mind, the developers of Tomcat suggest that Tomcat be deployed as a servlet container in conjunction with a Web server, such as Apache, rather than as a standalone product. <br><br>Migration from Apache JServ to Tomcat <br>If you are migrating from Apache JServ to Tomcat, be careful. The mod_jserv used with JServ will not work with Tomcat. The name of the module is the same, so you need to be certain that the correct mod_jserv has been installed. <br><br>Key Features <br>Tomcat has several features that differentiate it from the competition, including: <br><br><br>Support for JSP 1.1: Tomcat's most important feature. Very few commercial-quality JSP implementations currently support the 1.1 specification. <br>Servlet API 2.2 compliant: Because of this, Tomcat offers response output buffering and enhanced control over HTTP headers, as well as additional security and internationalization features. <br><br>Other features in Tomcat 3.1 also make it worth consideration: <br><br><br>Automatic servlet reloading: Servlets can be configured to be reloaded when code changes. However, this is only useful in development and causes serious performance issues in a production environment. <br>Thread pooling and JVM load balancing: Servlet containers that are using a thread pool free themselves from directly managing their threads. Instead of allocating a new thread, whenever they need one, they ask for it from the pool, and when they are done, the thread is returned to the pool. The thread pool can now be used to implement sophisticated thread management techniques. <br>Automatic deployment of Web ARchive (WAR) files: Servers that conform to the Java Servlet 2.2 specification are required to accept a Web Application Archive in a standard format. Applications placed in the Webapps directory, the WAR files are automatically expanded and executed based on the information contained in the WAR file. <br>NSAPI and ISAPI integration: Integration with Netscape Enterprise Server 3.0+ and Microsoft IIS 4.0+ provides more flexibility in architecture and integration with existing Web infrastructure. <br>A command line JSP to servlet code tool: Performance is slightly slower for JSP files than for servlets. By writing your JSPs and then converting them to servlets, you can achieve a performance boost. Tomcat provides a tool for this process. <br><br>Getting Started <br>The Jakarta Project Web site (http://jakarta.apache.org) provides information on downloading the latest release of Tomcat. Also available on the site is the FAQ-O-MATIC, which offers tips as well as solutions to problems you may run into during installation and setup. <br><br>Additional information is available at <a href="http://java.sun.com/products/jsp/tomcat/." target=_blank>http://java.sun.com/products/jsp/tomcat/.</a> <br></p></td>
  </tr>
</table>

<p>
<CENTER><a href="http://www.jsp001.com/forum/newreply.php?action=newreply&threadid=320">点这里对该文章发表评论</a></CENTER>
<p>该文章总得分是 <font color=red>0</font> 分,你认为它对你有帮助吗?
				[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=320&intVote=4","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>非常多</a>](<font color=red>0</font>) 
				[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=320&intVote=2","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>有一些</a>](<font color=red>0</font>) 
				[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=320&intVote=1","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>无帮助</a>](<font color=red>0</font>) 
				[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=320&intVote=-1","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>是灌水</a>](<font color=red>0</font>) </p>
<script language="javascript" src="http://www.jsp001.com/include/read_thread_script.php?threadid=320"></script>
<p><CENTER>
Copyright &copy; 2001 - 2009 JSP001.com . All Rights Reserved <P>

<IMG SRC="../image/jsp001_small_logo.gif" WIDTH="85" HEIGHT="30" BORDER=0 ALT="">
</CENTER></p>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -