2 Replies Latest reply on Nov 2, 2006 2:48 AM by Pascal Lochmann

    Portlets + JSF: Problem with grahpicImage

    Pascal Lochmann Newbie

      Hi,

      i'm getting "java.lang.NullPointerException" by using JSF-Tag "<h:graphicImage>" in my Portlet- WebApp.

      
      <f:view>
       <div align="center">
       <h:form>
       ...
       <h:graphicImage alt="view" value="/WEB-INF/images/view.gif" />
       ...
       </h:form>
       </div>
      </f:view>
      



      My "PORTLET_NAME.war" has the structure:
      PORTLET.war
      |
      * --- WEB-INF
      | |
      | * --- images
      | | |
      | | * --- view.gif
      | |
      | |
      | * --- jsp
      | |
      | * --- index.jsp
      



      Thanks, for help.