Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Update Servlet version from 2.4 to 2.5

Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Report post to moderator
I tried to change the servlet version of my web application from 2.4 to 2.5.

The web application in 2.4 which was developed and runned successfully in a Jetty server did not work properly with 2.5. The problem lied with JSTL. It would not recognize the ${} method of accessing variables.

All I did changes was the descriptor in the web.xml from
<web-app id="WebApp_ID" version="2.4" xmlns:xsi=""

to the following:
<web-app id="WebApp_ID" version="2.5"xmlns:xsi=""
xmlns:web="" xsi:schemaLocation="">

The Jetty server which ran my web application in Servelet API 2.4 did use the servlet-api-2.5, with JSTL 1.1.2, JSP-API 2.0 and standard-1.1.2.

I tried to update the JSTL to 1.2 (standard package is included in this version) and JSP-API to 2.1 but it made no difference.
Posts: 67451
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
This is essentially the same issue as your JSP post. Please continue any discussion there.
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic