2014年11月3日 星期一

How to know which servlet and jsp version

Server info: <%= application.getServerInfo() %>
  
Servlet version: <%= application.getMajorVersion() %>.<%= application.getMinorVersion() %>
  
JSP version: <%= JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion() %>
  
Java version: <%= System.getProperty("java.version") %>
  
Source from: how to know which servlet and jsp version

沒有留言: