JSP2 vs older versions

Can someone let me know what the advantages and disadvantages are to using JSP2 vs. JSP1?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

keseaAuthor Commented:
Also, with JSP1.x work on a system set up for JSP2 (ie. Tomcat 5).
JSP 2.0 gives you access to the expression language and JSTL by default, whereas JSP 1.x (e.g. 1.2) you do not have acesss to these technologies unless you download the jars and still only in a partial form (EL only inside JSTL tags for example).

You can use JSP 1.X in Tomcat 5.x as it's backwards compatible.

Also associated is the servlet spec upgrade from 2.3 (or lower to 2.4) and that is another change.
Other improvements in JSP 2.0 include a simplified syntax for creating custom tags and a better xml syntax (e.g. jsp as a namespace) but it all boils down to:

-Easier development
-Easier debugging
-Easier maintenance
-Easier reuse

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

Hi bloodredsun,

I heard that there was a series of explosions in London.

How are you? I hope that you are not affected by the explosions. How is the situation of London now?

I hope that you and people in London are okay.

Hey Dave,

I'm snug in my building in Canary Wharf so I'm fine thanks for asking. London has pretty much closed down for the moment while we find out what has happened and what will happen next.

keseaAuthor Commented:
Thanks very much.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java EE

From novice to tech pro — start learning today.