4 Replies Latest reply on Mar 6, 2007 3:10 PM by Markus Fahlén

    CSS & header injection

    Markus Fahlén Newbie

      I have managed to inject the following line of HTML into the portlet HTML header using the file jboss-portlet.xml:

      <link type='text/css' rel='stylesheet' href='/ProcesosInternos/WEB-INF/css/Styles.css' />

      The content of jboss-portlet.xml is this:
       <link rel="stylesheet" type="text/css"
       href="/WEB-INF/css/Styles.css" />

      However, the CSS isn't applied to the content of the JSP page to which the portlet redirects the browser request, so I'm certain it must be the path of the CSS file which isn't correct.

      I'm sure the problem and solution are very very basic, but they eludes me at the moment. Any help would be grately appreciated.