1 Reply Latest reply on Jun 17, 2015 4:34 AM by olivier robin

    jboss AS 7.1.1 final - how to access to images, in html

    olivier robin Newbie

      Hi,

       

      I installed jboss 7.1.1 final on my locla computer, and use it Under intellij 14.1.3.

       

      I am working on a servlet, which return some html code, in the response.

       

      sample of code returned :

      <img src='../../static/images/logo.png/>

        • 1. Re: jboss AS 7.1.1 final - how to access to images, in html
          olivier robin Newbie

          here is the other part of my question, I do't know why, it was sent...

          so in my project, I have from the root :

          /src/com....download/download.java

          /web/web-inf/web.xml (and faces-config.xml)

          /web/index/.xhtml

           

          /static/images/logo.png

          /lib

          when I compile my servlet, in the out, artifacts, test_war_exploded.war folder, I don't see my static or images folder.

          I see my classes, the WEB-INF, the index.xhtml.

           

          so, when I run my servlet, it works, but I have no images.

           

          I searched on the net, and don't find a solution that solve my issue. I ofund most of the time solution for jboss  5.

          if someone could hlep me, it would be nice

          thanks

          Olivier