Setting the JDK version and compiler in JBoss for JSP pages

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:

jbossserver[SERVER NAME]deployjbossweb-tomcat55.sarconfweb.xml

You can then change the compiler version by un-commenting the code below which you will find in the web.xml.

      

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.

Technorati Tags: , , , ,

  1. Running multiple instances of Jboss on one server.
  2. Adding and changing Mod JK JVM route, URI encoding and thread settings for JBoss
  3. Setting Database Connections in JBoss/ ATG
  4. Creating XML from PHP/ MySQL for use with SPRY
  5. Google Maps API part 1: Accurate Geocoding for UK Postcodes
  6. Using Javascript/ AJAX to post HTML form data
  7. How to Setup Debugging in Eclipse for JBoss
  8. Hot Deploy Java code/ ATG components on JBoss
  9. Changing the HTTP port Oracle uses

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">