2 Replies Latest reply on Sep 20, 2012 3:56 AM by Jean-Frederic Clere

    JBoss AS7.1.1 - JSP implicit package import

    syau Newbie

      Currently migrating my web application from Weblogic 10.3.5 to JBoss AS7.1.1.


      I have this in my web.xml - Servlet API 2.3,


      <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">


      In some JSP's, no import statements available for classes like 'java.util.Date', 'java.util.Iterator' etc. In weblogic, these classes get implicitly imported and getting

      executed fine.


      In JBoss this throws error like 'Unable to compile class for JSP ... Date cannot be resolved to a type'. I can manually add the necessary import statements in

      my JSP to make it work fine, but just curious if there is a way in JBoss to achieve implicit package import similar to weblogic.