If you need to run Java 1.5 in your JSP’s in JBoss 4.0.5.GA you can do so by editing a small setting in an XML file in your server directory:
\jboss\server\[SERVER NAME]\deploy\jbossweb-tomcat55.sar\conf\web.xml
You can then change the compiler version by un-commenting the code below which you will find in the web.xml.
<!-- Uncomment to use jdk1.5 features in jsp pages <init-param> <param-name>compilerSourceVM</param-name> <param-value>1.5</param-value> </init-param> -->
Changing this will then allow for a different JDK to be used in your JSP’s.
This content is published under the Attribution-Noncommercial-Share Alike 3.0 Unported license.
- Running multiple instances of Jboss on one server.
- Adding and changing Mod JK JVM route, URI encoding and thread settings for JBoss
- Setting Database Connections in JBoss/ ATG
- Creating XML from PHP/ MySQL for use with SPRY
- Google Maps API part 1: Accurate Geocoding for UK Postcodes
- Using Javascript/ AJAX to post HTML form data
- How to Setup Debugging in Eclipse for JBoss
- Hot Deploy Java code/ ATG components on JBoss
- Changing the HTTP port Oracle uses









