5 Replies Latest reply on Jun 18, 2013 1:08 PM by mcjbossuser

    Jboss 7 this.getClass (). getResource ("");

    jalal1986

      I want to retrieve a resource from my my-ea.ear/my-web.war. I try with the following statement:
      this.getClass (). getResource ("");
      instead the path of the class to be recovered from

      vfs:/C:/Eclipse/apps/jboss-as-7.1.1.Final/standalone/deployments/my-ea.ear/my-web.war/WEB-INF/classes/com/xxx/yyy/beans/jsf/

      It return the following path

      vfs:/C:/Eclipse/apps/jboss-as-7.1.1.Final/bin/content/my-ea.ear/my-web.war/WEB-INF/classes/com/xxx/yyy/beans/jsf/

       

      can you help me on this problem ?

       

      Best regards.