This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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