Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-taglibs Wiki" for change notification.
The following page has been changed by RahulAkolkar: http://wiki.apache.org/jakarta-taglibs/FrequentlyAskedQuestions ------------------------------------------------------------------------------ ==== I think EL is not working? What might be wrong? ==== - * Make sure you are using a servlet 2.4 specification web.xml + * Make sure you are using a servlet 2.4 specification web.xml {{{ <?xml version="1.0" encoding="ISO-8859-1"?> @@ -25, +25 @@ </web-app> }}} - * Then, make sure you are using a servlet container that implements the servlet 2.4 specification [For [http://jakarta.apache.org/tomcat/ Tomcat] this is version 5.0.* and up] + * Then, make sure you are using a servlet container that implements the servlet 2.4 specification [For [http://jakarta.apache.org/tomcat/ Tomcat] this is version 5.0.x and up] + + ==== There seem to be more than one sets of JSTL URIs, which ones do I use? ==== + + To support backwards compatibility, JSTL 1.1 introduced new URIs that must be + specified to use the new capabilities offered in JSTL 1.1. Depending on which version of JSTL you are using, you should use the appropriate URIs. + + * For JSTL 1.0, use the http: //java.sun.com/jstl/* URIs + * For JSTL 1.1, use the http: //java.sun.com/jsp/jstl/*" URIs + + More details are in Appendix A of the JSTL 1.1 Specification Maintenance Release, which can be downloaded from http://java.sun.com/products/jsp/jstl/ ==== I want to migrate from JSTL 1.0 to JSTL 1.1, what changes do I need to make? ==== The changes required may be two-fold, related to the container as well as the web application(s) that use JSTL 1.0 - * JSTL 1.0 requires a JSP container that supports the Java Servlet 2.3 and Java Server Pages 1.2 specifications (examples are Tomcat 4.x or Websphere 5.x). JSTL 1.1 requires a JSP container that supports the Java Servlet 2.4 and Java Server Pages 2.0 specifications (examples are Tomcat 5.x or Websphere 6.x). So, you must upgrade the container, if needed. + * JSTL 1.0 requires a JSP container that supports the Java Servlet 2.3 and Java Server Pages 1.2 specifications (examples are Tomcat 4.x or Websphere 5.x). JSTL 1.1 requires a JSP container that supports the Java Servlet 2.4 and Java Server Pages 2.0 specifications (examples are Tomcat 5.x or Websphere 6.x). So, you must upgrade the container, if needed. + * Then download the JSTL 1.1 Specification Maintenance Release from http://java.sun.com/products/jsp/jstl/ and read Appendix A (Compatibility & Migration), specifically A.2 deals which JSTL 1.0 to JSTL 1.1 migration. Make changes to your web application(s) accordingly. - * Then download the JSTL 1.1 Specification Maintenance Release from here [ - http://java.sun.com/products/jsp/jstl/ ] and read Appendix A - (Compatibility & Migration), specifically A.2 deals which JSTL 1.0 to JSTL 1.1 - migration. Make changes to your web application(s) accordingly. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
