1 Reply Latest reply on Feb 29, 2008 1:12 PM by Przemyslaw Jaskierski

    Problem with *.page.xml files in new Tomcats

    Ivan Stojic Newbie


      I'm using Seam 2.0.1.GA in a webapp deployed on Tomcat. When I switched from Tomcat 6.0.14 to 6.0.16 I noticed my
      *.page.xml files aren't being loaded anymore. It might have something to do with this:

      Tomcat bug

      I see that Pages.createPage(String viewId) contains:

      String resourceName = replaceExtension(viewId, ".page.xml");
      InputStream stream = resourceName==null ? 
                  null : ResourceLoader.instance().getResourceAsStream( resourceName.substring(1) );

      Perhaps that 'substring(1)' at the end should be removed?