[X] servletapi 2.4 ftw!

Although the getContextPath() method added to servlet api 2.5 might be really nice to use, just for that reason (nice) only and not because we really need it for a critical feature implementation, is in my view not good enough.
It would force tomcat 5.5 users to upgrade to tomcat 6, or likewise others 
still stuck on a servlet api 2.4 container.
If we do need this information at runtime, it is always possible to define it 
as context parameter in web.xml.

Just to give an example: although the getContextPath() method for portlet containers *really* is an important feature, the JSR-286 Expert Group decided that for the Portlet API 2.0 (on the verge of being released) this would pose a too great consequence so JSR-286 still only requires servlet api 2.4.
(Actually, even requiring Java 5 for JSR-286 was already seen by some members as a 
"risky" step)

So, for now I'm -1 on jumping to servlet api 2.5 unless there is a really 
compelling reason.

Ate

Martijn Dashorst wrote:
This is a vote to update our servlet API dependency to 2.5 (since we
require Java 5, there is little use to stay with 2.3 iiuc)

[ ] servletapi 2.5 ftw!
[ ] servletapi 2.3 ftw!

Martijn


Reply via email to