2 Replies Latest reply on Jun 4, 2005 1:38 AM by Mike Duffy

    (4.0.2 + Preview 5) Unable to use JDK5 features in .jsp and

    Antonio Pace Newbie

      features like generics and enhanced loop do not works with embedded tomcat.

      for (Product product : category.getProducts()){

      }
      ......................
      An error occurred at line: 26 in the jsp file: /show_products_by_category.jsp
      Generated servlet error:
      Syntax error on token ")", ; expected after this token
      ..........................

      and similar with generics declaration of List.