File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!