Tomcat, servlet, JSP, and JSTL of IT ninja turtles Support corresponding tables and tomcatjstl

Source: Internet
Author: User

Tomcat, servlet, JSP, and JSTL of IT ninja turtles Support corresponding tables and tomcatjstl
 

Tomcat version

Servlet version

Jsp version

Jstl version

6.0.x

2.5

2.1

1.2, 1.1.x

5.5.x

2.4

2.0

1.1.x

5.0.x

2.4

2.0

1.1

4.1.x

2.3

1.2

1.0

3.3.x

2.2

1.1

 



Description of jar packages corresponding to jstl:

(1) JSTL1.0 (contains two jar files: jstl. jar and standard. jar. Both jar files exist in the Standard1.0.x release .)

: Http://archive.apache.org/dist/jakarta/taglibs/standard-1.0/binaries/

(2) JSTL1.1 (also contains two jar files: jstl. jar and standard. jar. Both jar files exist in the Standard1.1.x release .)

: Http://archive.apache.org/dist/jakarta/taglibs/standard-1.0/binaries/

(3) JSTL1.2 (also contains 2 jar files: jstl-api-1.2.jar and jstl-impl-1.2.jar)

: Http://jstl.java.net/

URL:

Http://archive.apache.org/dist




Use JSTL to pass values to Servlet on the JSP page

First, make sure that you want to pass that value into the servlet. Then, make sure that the page is submitted to the servlet and check whether the value you want to submit is included in <form>, only the values contained in the form can be normally received by the servlet. You can try to write the set in the form. If your parameter is passed in the url, then write it directly behind the url? Id = "$ {srorage. id. No need to use the set statement !~ Use request. getparameter ("id"); To receive the request. getparameter ("id !~

To use MyEclipse to practice JSTL, you must comply with the Tomcat5 JSP20/Servlet24/JSTL11 version.

Yes. You need to introduce jstl. jar. Generally, when MyEclipse creates a Web project, it will prompt you to select jstl1.0 or 1.1. Generally, Version 1.1 is used. In addition, Versions later than MyEclipse5.5 will at least contain tomcat5.5, servlet2.4 can be set as long as it is J2EE1.4 or above.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.