Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getSpecificationVersion() differences

 
hu jianlong
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic