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            @Override
025            public String getSpecificationVersion() {
026                    // Railo Version
027                    return version;
028            }
029    
030    }