I downloaded a copy of servlet-api.jar from java2s.com. How do I know what version it is? There\'s no reference on the site.
EDIT
Ah. Apo
you can get it from META-INF, you can explore the content of jar file using win rar or such archiving utils something like.
Name: javax/servlet/ Specification-Title: Java API for Servlets Specification-Version: 2.4
I personally prefer maven repo to download jar from.