6.2.3. The jboss-portlet.xml Descriptor

The jboss-portlet.xml descriptor allows you to use JBoss-specific functionality within your portlet application. This descriptor is covered by the JSR-168 Portlet Specification, and is normally packaged inside your portlet WAR file, alongside the other descriptors in these sections. Injecting Header Content

The following example injects a specific style sheet, /images/management/management.css, allowing the portlet to leverage a specific style:
<?xml version="1.0" standalone="yes"?>
<!DOCTYPE portlet-app PUBLIC
   "-//JBoss Portal//DTD JBoss Portlet 2.6//EN"
         <link rel="stylesheet" type="text/css" href="/images/management/management.css"
Use the <header-content> and <link> elements to specify a style sheet.