001 package railo.runtime; 002 003 import javax.servlet.jsp.JspEngineInfo; 004 005 006 007 /** 008 * implementation of the javax.servlet.jsp.JspEngineInfo interface, 009 * return information to JSP Engine, 010 * railo is no JSP Engine but compatible to the most j2ee specification for wen applications, also the most jsp specification 011 */ 012 public final class JspEngineInfoImpl extends JspEngineInfo { 013 014 private String version; 015 016 /** 017 * constructor of the JSPEngineInfo 018 * @param version railo version Information 019 */ 020 public JspEngineInfoImpl(String version) { 021 this.version=version; 022 } 023 024 /** 025 * @see javax.servlet.jsp.JspEngineInfo#getSpecificationVersion() 026 */ 027 public String getSpecificationVersion() { 028 // Railo Version 029 return version; 030 } 031 032 }