From BC$ MobileTV Wiki
Jump to: navigation, search

Glassfish is a fully-feature Java-based application server for hosting web-based JSP, Servlet and J2EE code.

As of Glassfish v4.1.1 (2017-03-12) the following "hack" was required to force the Java compile-time/runtime version:

 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE glassfish-web-app PUBLIC "-// GlassFish Application Server 3.1 Servlet 3.0//EN" "">
 <glassfish-web-app error-url="">
 <class-loader delegate="true"/>
 <property name="keepgenerated" value="true">
 <description>Keep a copy of the generated servlet class' java code.</description>
 <property name="compilerSourceVM" value="7"/>
 <property name="compilerTargetVM" value="7"/>


External Links

See Also

Oracle | Server | Tomcat | Sun | Java | JSP | Servlet