This week's book giveaway is in the Java in General forum. We're giving away four copies of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 and have ishori Sharan & Adam L Davis on-line! See this thread for details.
what ever server you are using, usually has readme.txt file, or RELEASE-NOTES under the installed folder. Please go through that to find more. See the bundle API's (in tomcat atleast) to know which version of servlet. JSP spec that server follows. this on easy way :-)
hard way is to find out programatically, you don't want to do that.