tomcat6.0与tomcat5.5 的区别,和tomcat5.0的区别

想知道Tomcat 个版本有什么差异,下载Tomcat的文挡changelog.html就知道了。那tomcat5.5来说下载apache-tomcat-5.5.25-fulldocs,解压后查看apache-tomcat-5.5.25-fulldocs\tomcat-5.5-doc\changelog.html 就一清二楚了。

跟版本的区别主要反映在两个方面:
1。Tomcat本身的技术演进,包括性能的不断提高,功能的增加增强,甚至于重构
2。因为Tomcat本身是块Servlet容器的试验田,所以他的版本是跟Servlet和JSP的规范一起发展的。

下面粗略介绍一下:
Tomcat 3.x
tomcat 的初始正式版本是3.x,(v3.1.1、v3.2.4、v3.3),完全遵循ASF(Apache Software Foundation)规范,支持Servlet2.2和JSP1.1
该版本已经能能够连接IIS、Netscape Web Server,并支持war包形式发布应用。他最大的问题就是存在安全问题,并因此停止发布。

Tomcat 4.x
鉴于Tomcat 3.x的种种不足和致命的安全问题,Tomcat 4.x 对整个项目进行了重新架构,并且遵循新的servlet2.3、jsp1.2规范的支持并同时向下兼容Servlet2.2和JSP1.1 。重新架构的组件使用ant来设置任务来构建;开始支持与IDE的集成;连接器使用新的Cycote Connector连接器;基于管理的JMX;支持struts;还有就是一大堆的性能和内存使用效率的提高,几乎每版都声明有这样的好处……

Tomcat 5.x
Tomcat 5.x 基于Tomcat 3.x,Tomcat 4.x,遵循新的servlet2.4、jsp2.0规范。他最大的特点就是支持JDK5.0。Tomcat 5.x 是个总结、改进版本,因为有了3.x,4.x作基础,加上使用JDK5.0,使Tomcat在性能上有了突飞猛进的发展,备受大家欢迎。

Tomcat 6.x
Tomcat 6.x是目前的最新版本了。遵循新的servlet2.5、jsp2.1。该版本增加了很多新特性。主要有:
高级的IO功能:采用APR或NIO HTTP连接进行异步IO操作
组件功能:可以使用ant -f extras.xml的方式为tomcat添加新的组件。
另外一个我感觉变化很大的是Tomcat 6.x目录发生了很的变化,lib 目录都集中到一起放在跟目录下,jar包也简洁多了(从数量上^_^)


总结:Tomcat 各版本之间,一方面版本号是跟着servlet、jsp规范同步演进的(请容许我怎么说),另一方面,软件在架构设计和功能、性能方面都是与时俱进,不断丰富和提高(先前的版本不好就大胆的重新架构,大胆尝试新技术,因为他本身是用来做实验的^_^)。


Tomcat6.x在目录上最大的区别就是将 lib 包直接置于 CATALINA_HOME/lib 下,而tomcat 5.x 系列版本是分common/share/server 三个包存放的。再具体解释一下:

CATALINA_HOME/common
在这个目录下的lib目录,存放Tomcat 服务器和所有Web应用都能访问的JAR.

CATALINA_HOME/share
在这个目录下的lib目录,存放所有Web应用都能访问的,但Tomcat 不能访问的JAR。

CATALINA_HOME/server
在这个目录下的lib目录,存放Tomcat 服务器需要的但Web应用不能访问的JAR。
另外该目录下webapps 存放Tomcat 自带的APP-admin和manager两个应用。

common/share/server 三个包中的classes是用来存放class的,就是说你的类库不打成JAR包,而是class文件就直接放在这里。

Tomcat 6.x 在目录结构上就是针对lib包的存放位置做了调整,使应用部署更加方便。另外:
Tomcat 6.x中endorsed 从CATALINA_HOME/common移到根目录下了CATALINA_HOME\endorsed 至于其它没有太大的变化。

另外需要说明的是tomcat 5.x有目录CATALINA_HOME\conf\Catalina\localhost
在Tomcat 6.x中该目录是空的就没给你建,你可以自己建。有好几个朋友问我这个问题了,这里给你提醒一下。

至于xml文件我还没有注意到有什么变化,以后发现了大家在讨论。

tomcat5.5安装包 百度文档:https://wenku.baidu.com/view/c6f5cdfffab069dc502201a5.html Tomcat是Apache 软件基金会(Apache Software Foundation)的Jakarta 项目中的一个核心项目,由Apache、Sun 和其他一些公司及个人共同开发而成。由于有了Sun 的参与和支持,最新的Servlet 和JSP 规范总是能在Tomcat 中得到体现,Tomcat 5支持最新的Servlet 2.4 和JSP 2.0 规范。因为Tomcat 技术先进、性能稳定,而且免费,因而深受Java 爱好者的喜爱并得到了部分软件开发商的认可,成为目前比较流行的Web 应用服务器。 立即下载

相关推荐

tomcat-5.5.23

============================================<br><br>Out of the box, Tomcat 5.5 requires the Java 2 Standard Edition Runtime<br>Environment (JRE) version 5.0 or later. However, you can also run Tomcat<br>5.5 on earlier versions of the JRE, as detailed below.<br><br>=============================<br>Running With JRE 5.0 Or Later<br>=============================<br><br>(1) Download and Install the J2SE Runtime Environment (JRE)<br><br>(1.1) Download the Java 2 Standard Edition Runtime Environment (JRE),<br> release version 5.0 or later, from http://java.sun.com/j2se.<br><br>(1.2) Install the JRE according to the instructions included with the<br> release.<br><br>(1.3) Set an environment variable named JAVA_HOME to the pathname of<br> the directory into which you installed the JRE, e.g. c:\j2sdk5.0<br> or /usr/local/java/j2sdk5.0.<br><br><br>(2) Download and Install the Tomcat Binary Distribution<br><br>NOTE: As an alternative to downloading a binary distribution, you can create<br>your own from the Tomcat source repository, as described in "BUILDING.txt".<br>If you do this, the value to use for "${catalina.home}" will be the "dist"<br>subdirectory of your source distribution.<br><br>(2.1) Download a binary distribution of Tomcat from:<br><br> http://tomcat.apache.org<br><br>(2.2) Unpack the binary distribution into a convenient location so that the<br> distribution resides in its own directory (conventionally named<br> "apache-tomcat-[version]"). For the purposes of the remainder of this document,<br> the symbolic name "$CATALINA_HOME" is used to refer to the full<br> pathname of the release directory.<br><br><br>(3) Start Up Tomcat<br><br>(3.1) Tomcat can be started by executing the following commands:<br><br> $CATALINA_HOME\bin\startup.bat (Windows)<br><br> $CATALINA_HOME/bin/startup.sh (Unix)<br><br>(3.2) After startup, the default web applications included with Tomcat will be<br> available by visiting:<br><br> http://localhost:8080/<br><br>(3.3) Further information about configuring and running Tomcat can be found in<br> the documentation included here, as well as on the Tomcat web site:<br><br> http://tomcat.apache.org<br><br><br>(4) Shut Down Tomcat<br><br>(4.1) Tomcat can be shut down by executing the following command:<br><br> $CATALINA_HOME\bin\shutdown (Windows)<br><br> $CATALINA_HOME/bin/shutdown.sh (Unix)<br><br><br><br>====================================<br>Running Tomcat With J2SE Version 1.4<br>====================================<br><br>(1) Obtain the compat package:<br><br>(1.1) Download the compat package from the binary download site:<br> http://tomcat.apache.org<br><br> * Or build this package yourself from the source code: see <br> "BUILDING.txt" in this directory.<br><br>(2) Unzip the package in $CATALINA_HOME. It will place the XML<br> parser APIs and Xerces implementation in the common/endorsed<br> directory, and the JMX API jar (jmx.jar from Sun) in the bin<br> directory.<br><br>(3) Follow the same directions for starting and stopping the<br> server as if you were using J2SE 5.0.<br><br><br>==================================================<br>Advanced Configuration - Multiple Tomcat Instances<br>==================================================<br><br>In many circumstances, it is desirable to have a single copy of a Tomcat<br>binary distribution shared among multiple users on the same server. To make<br>this possible, you can pass a "-Dcatalina.base=$CATALINA_BASE" argument when<br>executing the startup command (see (2)). In this<br>"-Dcatalina.base=$CATALINA_BASE" argument, replace $CATALINA_BASE with the<br>directory that contains the files for your &#39;personal&#39; Tomcat instance.<br><br>When you use this "-Dcatalina.base=$CATALINA_BASE" argument, Tomcat will<br>calculate all relative references for files in the following directories based<br>on the value of $CATALINA_BASE instead of $CATALINA_HOME:<br><br>* conf - Server configuration files (including server.xml)<br><br>* logs - Log and output files<br><br>* shared - For classes and resources that must be shared across all web<br> applications<br><br>* webapps - Automatically loaded web applications<br><br>* work - Temporary working directories for web applications<br><br>* temp - Directory used by the JVM for temporary files (java.io.tmpdir)<br><br>If you do not pass the "-Dcatalina.base=$CATALINA_BASE" argument to the<br>startup command, $CATALINA_BASE will default to the same value as $CATALINA_HOME,<br> which means that the same directory is used for all relative path resolutions.<br><br>The administration and manager web applications, which are defined in the<br>$CATALINA_BASE/conf/Catalina/localhost/admin.xml<br>and <br>$CATALINA_BASE/conf/Catalina/localhost/manager.xml files, will<br>not run in that configuration, unless either:<br>- The path specified in the docBase attribute of the Context element is made<br> absolute, and replaced respectively by $CATALINA_HOME/server/webapps/admin<br> and $CATALINA_HOME/server/webapps/manager<br>- Both web applications are copied or moved to $CATALINA_BASE, <br> and the path specified in the docBase attribute of the Context<br> element is modified appropriately.<br>- Both web applications are disabled by removing<br> $CATALINA_BASE/conf/Catalina/localhost/admin.xml<br> and<br> $CATALINA_BASE/conf/Catalina/localhost/manager.xml.<br><br><br>================<br>Troubleshooting<br>================<br><br>There are only really 3 things likely to go wrong during the stand-alone<br>Tomcat install:<br><br>(1) The most common hiccup is when another web server (or any process for that<br> matter) has laid claim to port 8080. This is the default HTTP port that<br> Tomcat attempts to bind to at startup. To change this, open the file:<br><br> $CATALINA_HOME/conf/server.xml<br><br> and search for &#39;8080&#39;. Change it to a port that isn&#39;t in use, and is<br> greater than 1024, as ports less than or equal to 1024 require superuser<br> access to bind under UNIX.<br><br> Restart Tomcat and you&#39;re in business. Be sure that you replace the "8080"<br> in the URL you&#39;re using to access Tomcat. For example, if you change the<br> port to 1977, you would request the URL http://localhost:1977/ in your browser.<br><br>(2) An "out of environment space" error when running the batch files in<br> Windows 95, 98, or ME operating systems.<br><br> Right-click on the STARTUP.BAT and SHUTDOWN.BAT files. Click on<br> "Properties", then on the "Memory" tab. For the "Initial environment" field,<br> enter in something like 4096.<br><br> After you click apply, Windows will create shortcuts which you can use<br> to start and stop the container.<br><br>(3) The &#39;localhost&#39; machine isn&#39;t found. This could happen if you&#39;re behind a<br> proxy. If that&#39;s the case, make sure the proxy configuration for your<br> browser knows that you shouldn&#39;t be going through the proxy to access the<br> "localhost".<br><br> In Netscape, this is under Edit/Preferences -> Advanced/Proxies, and in<br> Internet Explorer, Tools -> Internet Options -> Connections -> LAN Settings.<br>

myecplise 完全开发

一、开发环境配置第一步:下载j2sdk和tomcat:到sun官方站(http://java.sun.com/j2se/1.5.0/download.jsp)下载j2sdk,注意下载版本为Windows Offline Installation的SDK,同时最好下载J2SE 1.5.0 Documentation,然后到tomcat官方站点(http://jakarta.a...

weixin_33672400的博客 199

tomcat5.5解压版

Tomcat是Apache 软件基金会(Apache Software Foundation)的Jakarta 项目中的一个核心项目,由Apache、Sun 和其他一些公司及个人共同开发而成。由于有了Sun 的参与和支持,最新的Servlet 和JSP 规范总是能在Tomcat 中得到体现,Tomcat 5 支持最新的Servlet 2.4 和JSP 2.0 规范。因为Tomcat 技术先进、性能稳定,而且免费,因而深受Java 爱好者的喜爱并得到了部分软件开发商的认可,成为目前比较流行的Web 应用服务器。目前最新版本是6.0。

Apache Tomcat 5.5 常见问题解决方案

Apache Tomcat 5.5 常见问题解决方案 项目基础介绍 Apache Tomcat 5.5 是一个开源的 Java Servlet 容器,由 Apache 软件基金会维护。它是 Java EE(Java Platform, Enterprise Edition)的一部分,主要用于运行基于 Java 的 Web 应用程序。Tomcat 5.5 支持 Servlet 2.4 和 JSP 2...

gitblog_00488的博客 476

MySQL 4.1/5.0/5.1/5.5/5.6各版本的主要区别整理

各版本的一些命令差异: show innodb status\G mysql-5.1 show engines innodb status\G mysql-5.5 关于grant授权 mysql-5.5 的 user@’%’ 不包含localhost ———————————————————————– MySQL 4.1/5.0/5.1/5.5/5.6各版本的主要区别  1、4.1 增加了子查询的支持,字符集增加UTF-8,GROUP BY语句增加了ROLLUP,mysql.user表采用了更好的加密算法。  2、5.0 增加了Stored procedures、Views、Cursors、T

ADS仿真功率放大器实例学习笔记

ADS仿真功率放大器实例学习笔记

qq_36521926的博客 1万+

Tomcat 5.5 基本详细配置(5)

9.2 分配角色名迄今为止,讨论已经集中到完全由容器(服务器)处理的安全问题之上了。但servlet以及JSP页面也能够处理它们自己的安全问题。例如,容器可能允许用户从bigwig或bigcheese角色访问一个显示主管人员额外紧贴的页面,但只允许bigwig用户修改此页面的参数。完成这种更细致的控制的一种常见方法是调用HttpServletRequset的isUserInRole方法

chinajust的专栏 902

在不同版本Python中安装PyQT5及PyQT5-Tools

在不同版本Python中安装PyQT5及PyQT5-Tools

zoomgu680的博客 2万+

Tomcat5.5的安装与配置

        安装Tomcat之前要先安装JDK,可从http://java.sun.com上下载最新版本的JDK。Tomcat可从Apache Jakarta Project站点(http://jakarta.apache.org/site/binindex.cgi)上下载,本书使用的Tomcat版本是5.5.7,它需要安装J2SE 5.0(JDK 1.5)以上的版本才能运行。对于Window

NetPursuer的专栏 9777

基于Multisim的智能交通灯控制系统仿真与实现(含动态闪烁功能)

本文详细介绍了基于Multisim的智能交通灯控制系统仿真与实现,重点解析了动态闪烁功能的电路设计。通过555定时器、74LS192计数器和JK触发器等核心模块,实现了主干道与支干道的交替通行及黄灯1Hz闪烁功能,为交通灯控制系统设计提供了完整的仿真方案。

weixin_29174013的博客 426

Python、Selenium实现问卷星自动填写(内含适配个人问卷的方法)

使用Python、Selenium实现问卷星自动填写,内含适配个人问卷的方法。

DaenCode的博客 3837

tomcat5.0与tomcat6.0的区别

  1、tomcat5.0与tomcat6.0的区别:a、 首先是目录的不同:以前的common文件夹变成了lib文件夹,也就是放数据库驱动的文件的地方。  b、 最主要的是在conf文件夹下,多添了一个context.xml的文件,这个文件和server.xml文件的作用类似,就是配置数据源的文件,在这个两个文件中的哪个文件配置都可以,也就是这两个文件,是在tomca

furthersun的专栏 3158

别再手动调波形了!用STM32G474的HRTIM+DAC生成精密锯齿波,附完整CubeMX配置

本文详细介绍了如何利用STM32G474的高分辨率定时器(HRTIM)和数模转换器(DAC)协同工作,实现高精度锯齿波生成。通过CubeMX配置指南、关键寄存器计算和实践技巧,帮助开发者快速掌握全硬件实现的波形生成方案,显著提升嵌入式系统的波形控制精度和响应速度。

weixin_28716769的博客 246

tomcat5.0和tomcat6.0区别

1、tomcat5.0与tomcat6.0的区别: a、 首先是目录的不同:以前的common文件夹变成了lib文件夹,也就是放数据库驱动的文件的地方。 b、 最主要的是在conf文件夹下,多添了一个context.xml的文件,这个文件和server.xml文件的作用类似,就是配置数据源的文件,在这个两个文件中的哪个文件配置都可以,也就是这两个文件,是在tomcat启动时...

青青雨露 173

《QGIS快速入门与应用基础》161:面要素顶点编辑与形状调整

本文系统讲解了QGIS中面要素顶点编辑与形状调整的核心操作。首先明确了顶点编辑的适用场景与核心概念,强调需满足图层类型、编辑模式、要素选择等六大前提。详细介绍了编辑顶点工具(F2键)的激活路径及配套辅助工具,通过耕地地块修正案例,分步骤演示顶点移动、添加(双击/工具栏)、删除(Delete键)三大基础操作。同时提供捕捉工具开启、画布缩放等实用技巧,帮助用户高效完成面要素的精细化调整,解决实际工作中的形状偏差问题。全文图文结合,步骤清晰,适合GIS新手快速掌握面要素编辑的核心技能。

LuckyHanMo的博客 487

骑砍Ⅱ霸主MOD开发(16)-FaceKey&BannerKey

摘要:本文介绍了FaceKey人物模型和BannerKey旗帜模型的生成流程。FaceKey通过序列化参数生成人物模型,包括头部(脸部、嘴、睫毛、眼睛)、眉毛、头发、身体和躯干等组件,每个部分通过特定标签和骨骼绑定实现。BannerKey则通过解析参数生成旗帜模型,包括模型、贴图和颜色等元素。两种模型都采用参数化设计和XML配置文件实现模型生成与定制。

骑砍战团&霸主MOD开发 2286

tomcat5.0和6.0区别

1.tomcat5.0里common包在tomcat6.0是lib包。 2.tomcat6.0config文件下添加了context.xml文件,类似server.xml文件。 配置数据源,tomcat启动时,自动加载。俩个文件同事配置可俩个项目同时运行。   ...

666 210

uniapp - 实现集成调用zebra斑马打印机+打印标签+打印二维码详细实例代码,通过蓝牙连接打印机打印与通过打印机IP和端口两种方式适配斑马打印机(全平台兼容H5、微信小程序、苹果安卓App)

uniapp适配斑马打印机 实现标签打印,uniapp适配斑马打印机实现标签打印,uniapp调用zebra斑马打印机打印标签,uniApp连接传统蓝牙的斑马打印机打印,实现标签打印功能uniapp 蓝牙连接斑马打印机发送zpl指令打印,适配斑马(Zebra)牌打印机,小程序调用蓝牙打印机完整代码,uniapp 打印机wifi链接 蓝牙链接,uniapp斑马打印机,实现二维码标签展示以及打印,APP端连接打印机打印小票和标签,uniapp使用斑马打印中文不出来,打印机连接不上,打印没反应怎么办,打印报错,斑

🏆 前端领域优质创作者 1万+

tomcat5.5下el表达式失效

jstl1.1版本由2个必要包构成:standard-1.1.jar和JSTL1.1.jar;而jstl1.1版本只有一个必要包JSTL1.2.jar。(一开始在替换的过程中想当然的用JSTL1.1.jar换JSTL1.2.jar,然后遗漏了standard-1.1.jar,耽搁了不少时间。) 经测试,tomcat6.0支持JSTL1.2版本,也支持JSTL1.1版本;tomcat5.5...

duanll1985的专栏 144

C# WinForm 基于DirectShow.dll编写的程序,可边预览边保存视频,音频和图片

基于微软的DirectShow.dll的二次开发1.自动识别连接的摄像头跟麦克风且可以对其进行选择(默认选中第一个)2.可录制wmv和avi两种格式的视频并且都带有音频,avi可以录制的分辨率和帧数进行选择,wmv默认进行了淸晰度优化如不喜欢可去除代码中有相关提示3.可在预览点开之后进行拍照,也可边录制视频边拍照4.添加了视频和音频的压缩功能(酌情使用)这次二次开发发现C#对DirectShow的相关信息太少,这次做完也不敢藏私共享出来,还望大家指正

ET2012新版免狗免安装绿色软件

ET2012新版免狗免安祖昂绿色软件。,新界面,新视觉,

tomcat配置JNDI数据源例子

说明:tomcat5.5与6.0的配置略有不同,即:tomcat的lib位置不同(其他完全一致), 6.0位置是:D:\我的工具\apache-tomcat-6.0.10\lib下 5.5位置是:D:\我的工具\apache-tomcat-5.5.17\common\lib 局部数据源步骤: 一、拷贝数据库驱动到:D:\我的工具\apache-tomcat-6.0.10

xiaoQ的IT人生 829

汉书HE8,好用的汇编代码编写工具

汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大

tomcat5.5与6.0数据源配置差别

tomcat5.5以及以下版本使用下面的: url jdbc:oracle:thin:@10.0.0.1:1521:test username test password test maxActive 10 maxWait 20 driverClassName oracle.jdbc.driver.OracleDriv

fengyeluan的专栏 451

jstl标签库------引用标签库

jstl标签库——引用标签库环境:jdk1.6,java EE 5,MyEclipse8.5,tomcat6.0.41,jstl1.2jstl标签库包括核心标签库、格式化标签库、sql标签库、XML标签库、函数标签库等,这里主要是介绍核心标签库,其他标签库没用过不发表意见。要使用标签库,首先要引用库。在jsp页面顶部添加以下语句: 核心标签库:<%@taglib uri=”http://java.

镀金的勇者 507

tomcat6.0与tomcat5.5 的区别

[size=medium][size=medium]Tomcat6.x在目录上最大的区别就是将 lib 包直接置于 CATALINA_HOME/lib 下,而tomcat 5.x 系列版本是分common/share/server 三个包存放的。再具体解释一下: CATALINA_HOME/common 在这个目录下的lib目录,存放Tomcat 服务器和所有Web应用都能访问的JAR. ...

adermon1224的博客 314

总结下tomcat5.0和tomcat6.0与jdk1.6与MyEclipse6.0:

总结下tomcat5.0和tomcat6.0与jdk1.6与MyEclipse6.0: 首先讲下它们的安装:先装jdk,装完jdk后装Tomcat,在装Tomcat时会提示要引入jdk的bin路径。 Tomcat5.0与Tomcat6.0相差比较大,从它们的安装文件中就可以看出来,tomcat5.0的conf文件下无context.xml,而Tomcat6.0则有。Tomcat6.0文件目录下...

beautiful0101的专栏 283
上一篇: flex [Bindable]
下一篇: 怎么查看端口占用情况
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值