1, refers to the version of the servlet, is 2.5 or 3.0
servlet3.0 Support Async Later
2. Dynamic Web module and the corresponding Tomcat version
Http://blog.sina.com.cn/s/blog_529aacbd01014cc8.html
3.
what version of the Java API does the Servlet.jar inside Tomcat correspond to?
I think this watch is very useful to you.
Ask:
I see this watch, but I don't see how it is, what's the servlet/jsp version inside? is the. class file inside the Servlet-api.jar not an implementation of the class inside the Java EE servlet package?
Chase Answer:
Servlet/jsp, of course, has its own version. Every major upgrade will mean a version upgrade. Maybe you're probably struggling with the relationship between Servlet-api and Java EE now. Here's an example: after MyEclipse 8 new webproject, MyEclipse automatically references Java EE 5 Libraries in the project, which includes Javaee.jar,jsf-impl.jar,jsf-api.jar,jstl-1.2.jar these four packages, where the Javaee.jar package includes the class that writes the servlet, creating a new servlet in the project. After posting the project to Tomcat with MyEclipse's release feature, the Jsf-impl.jar,jsf-api.jar,jstl-1.2.jar three packages are also published in the application's Lib directory. Javaee.jar but did not publish together in the Lib. Tomcat boot application is normal, but should be error can not find HttpServlet to AH. Originally in the Tomcat installation directory in the Lib there is a servlet-api.jar, in this package also includes the writing servlet class, so Tomcat launcher application did not find HttpServlet to error.
Ask:
Well, you said these I understand, basically also solved my question, thank you, I also want to ask again, above you give the figure in the last column of "Minimum Java version" refers to Java EE, or javase version? I think it's a Java EE version, right?
Chase Answer:
Javase. You know, Tomcat was written in Java, too.
4. servlet Web. XML header information for different versions (2.3,2.4,2.5,3.0)
http://blog.csdn.net/z69183787/article/details/36008097
Basic knowledge of 5.Servlet and Tomcat
http://blog.csdn.net/pirateleo/article/details/8574973
6.
Servlet 3 Features: Asynchronous servlethttp://www.importnew.com/8864.html
Choose the difference between 2.5 and 3.0 when creating a new Dynamic Web project in Eclipse (it involves the servlet and tomcat issues)