Am 05.07.2017 um 13:23 schrieb Lukasz Lenart:
> This is very strange ... I don't understand where is the problem :\ Do
> you serve those CSSs files via the Strust filter as a static content?
>

The CSS file seems to get through. The Layout is as should. The CSS file
is packed in a subdirectory of WebContent.

Nothing has been changed between 2.5.10.1 and 2.5.11. But do not mind
too much, if I have two working options:

The following works:

<i class="fa icon-envelope"></i>
<i class="fa">&#xf003;</i>

The following does not work since 2.5.11:

<i class="fa fa-envelope-o"></i>

web.xml

  <listener>
   
<listener-class>org.apache.struts2.tiles.StrutsTilesListener</listener-class>
  </listener>
 
  <filter>
      <filter-name>struts2</filter-name>
     
<filter-class>org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter</filter-class>
  </filter>

  <filter-mapping>
    <filter-name>struts2</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>

struts.xml

<constant name="struts.action.extension" value=","/>

Markus


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to