UrlRewriterFilter problem load css and js

0

I'm using taglib as a template to load header, body, and footer into my jsp pages. For friendly URLs I use UrlRewriteFilter. The problem is when I pass parameters in URl friendly, as it does not load the css and js files.

The link page loads normally and the urlrewrite file looks like this:

<rule
   <from>^/home</from>
   <to>/pages/home.jsp</to>
</rule>

The link does not load the css and js files.

<rule>
   <from>^/servico/([0-9]+)$</from>
   <to>/pages/service.jsp?key=$1</to>
</rule>

Is there any way I could leave the default css and js file path to load on all pages without crashing?

    
asked by anonymous 12.06.2015 / 16:55

0 answers