Play! Framework does not load on Servlet 2.4 containers

Bug #529311 reported by Rob Dawson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
play framework
Status tracked in 1.0
1.0
Fix Released
Medium
Nicolas Leroux
1.1
Fix Committed
Medium
Nicolas Leroux

Bug Description

The code that derives the context path in the servlet listener requires Servlet 2.5. As this is the only spot that needs this version of the Servlet spec, it would be nice to work with it.

The attached patch includes code to check the servlet version and init the router at a time appropriate for the servlet version. (for 2.4 servlet containers it will init the router on the first request).

Revision history for this message
Rob Dawson (robert-rojotek) wrote :
Revision history for this message
Rob Dawson (robert-rojotek) wrote :

Anyone had a chance to look at this patch? It would be great to see this included.

Revision history for this message
Nicolas Leroux (nicolas-lunatech) wrote :

Sorry, I forgot. I will look at it tonight...

Revision history for this message
Rob Dawson (robert-rojotek) wrote :

Awesome. Let me know if there are any changes I can make to this to help make it better.

Revision history for this message
Nicolas Leroux (nicolas-lunatech) wrote :

Patched merge. Thanks again.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.