Except for tag libraries JSP 1.0 is pretty compatible with JSP 1.1. But, JSP
1.1 also means an update from Servlet 2.1 to Servlet 2.2. You are more
likely to run into problems with Servlet 2.2 changes than with JSP 1.1
changes.  The main ones that I can think of are that
ServletRequest.getRequestDispatcher was put in to the API and that the
HttpSession.setAttribute/getAtribute methods were added and
setValue/getValue methods were deprecated. The deprecated methods still work
but if you have deprecation warnings turned on you will see the errors.

These changes probably mean that once you update to JSP 1.1 and Servlet 2.2
you probably won't be able to go back to JSP 1.0 and Servlet 2.1. Given that
some of the large players in the JSP industry haven't made it to JSP 1.1
yet, this could be a pretty serious problem.

-----Original Message-----
From: Hans Bergsten [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 14, 2000 2:17 PM
To: [EMAIL PROTECTED]
Subject: Re: JSP 1.0 and 1.1 compatibility


Chaiwat Khachondacha wrote:
>
> Hi,
> I just started with JSP programming and I want to know about what
difference
> between JSP 1.0 and JSP 1.1. If I use JSP 1.0  to develop and run on
application
> server that supported JSP 1.1 such as TOMCAT 3.1, I can do it ? and Is its
compatible ?

The main difference is that JSP 1.1 adds the Tag Extension Framework. JSP
1.1
is backwards compatible with JSP 1.0, so a JSP 1.1 container can handle JSP
1.0
pages.

This, and so much more, is described in the JSP 1.1 specification.:

  <http://java.sun.com/products/jsp/>

Hans
--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to