0
I am using taglib as a template to load header, body and footer on my jsp pages. For friendly Urls I use Urlrewritefilter. The problem is when I pass parameters in the URL friendly as it does not load the css and js files.
The page http://localhost:8080/admin/home, loads normally and the urlrewrite file is like this:
<rule
<from>^/home</from>
<to>/pages/home.jsp</to>
</rule>
Already the page http://localhost:8080/admin/servico/48331006151024222123772 does not load the css and js files.
<rule>
<from>^/servico/([0-9]+)$</from>
<to>/pages/service.jsp?key=$1</to>
</rule>
Are there any way in which I could leave the default css and js file path to load at all pages, without happening this problem?
No filter loads normally?
– Wellington Avelino
Load normally without filter. When access http://localhost:8080/admin/servico/48331006151024222123772 and I change the path of css and js loads as well. The problem that I use a taglib template for the entire project.
– Pedro A.