2 Replies Latest reply on Jan 7, 2009 6:53 AM by Wojciech Ciesielski

    Loading CSS (and images?) from classpath

    Wojciech Ciesielski Newbie

      Hi there,

      I need to prepare two separate web applications sharing the same looks (styles, icons etc). Is there any reasonable way to do something like this:

      <a4j:loadStyle src="classpath:/package/path/to/my/ccs-file.css" />

      ? Or something like
      <h:graphicImage value="classpath:/resources/img/icos/list.png" />


      Or - can you suggest a way to share set of assets like CSS stylesheets, images and scripts between applications? Any assistance would be greatly appreciated