Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JSP and the fly likes getSpecificationVersion() differences Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "getSpecificationVersion() differences" Watch "getSpecificationVersion() differences" New topic

getSpecificationVersion() differences

hu jianlong

Joined: Nov 20, 2012
Posts: 1
why Package.getPackage("javax.servlet.jsp").getSpecificationVersion() is not same with JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion()??

in my tomcat 7, the former return 2.1 and the latter returns 2.2, why??
I agree. Here's the link:
subject: getSpecificationVersion() differences
jQuery in Action, 3rd edition