4 Replies Latest reply on May 26, 2006 12:38 PM by Scott Stark

    JDK 1.5 (tiger) problems with JSPs

    Colin Reid Newbie

      Im building a J2EE application using JBoss 4.0.3 and JDK 1.5 (tiger).

      This is the first 1.5 J2EE project Ive worked on and Ive discovered that JBoss is compiling my JSPs to 1.4. Im using netbeans to package the app, so the EJBs and servlets are being compiled correctly to 1.5. I came across the following wiki: http://wiki.jboss.org/wiki/Wiki.jsp?page=402UpgradeIssues that reffered to a fix to apply to JBoss to allow JSPs to run in 1.5 mode, however the application will eventually be hosted on a shared host where I wont be able to apply 'fixes' like this to the JBoss app server.

      My question is - does anybody have any idea why this functionality is not provided as standard with JBoss? Is it just something that hasnt been developed yet, and if so why was the app server released w/o this functionality? I know Im probably wrong here, but I need to know what is going on before I go on with any more development in JDK 1.5.

      The problem is that Im using generic collections and the enhanced for loop in my EJBs and servlets, but these cannot be used in the JSPs (im having to explicitly cast wrappers etc from the generic types returned by the EJBs).

      Also, while Im on - does anybody use a shared JBoss host that they would reccomend? Uk preferable.