File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

getSpecificationVersion() differences

hu jianlong
Greenhorn

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??
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: getSpecificationVersion() differences
 
Similar Threads
How do I choose my JSP version?
need help when compile the code
Default Packages
custom tag
Versioning using manifest for multiple packages in a single jar