Change By: Daniel Bevenius (03/Jan/13 4:06 AM)
Description: GET requests to static files (CSS for instance) are handled by the Route.

The was discovered when the context path of a request changes. In this case Sebastian has added page where users can be registered, register.jsp. This page will display a list of users which are links:
{code:xml}
<a href="show/${user.id}">${user.id}</a>
{code}
The is a route for handling /show/id so these will work just fine. 
show.jsp like the others pages includes header.jsp which has the following includes:
{code:xml}
<link rel="stylesheet" href="stylesheets/base.css">
<link rel="stylesheet" href="stylesheets/skeleton.css">
<link rel="stylesheet" href="stylesheets/layout.css">
{code}
When accessing show.jsp for a user the following errors are displayed in the browsers console:
{noformat}
GET http://localhost:8080/aerogear-controller-demo/show/stylesheets/base.css 404 (Not Found) beve:21
GET http://localhost:8080/aerogear-controller-demo/show/stylesheets/skeleton.css 404 (Not Found) beve:22
GET http://localhost:8080/aerogear-controller-demo/show/stylesheets/layout.css 404 (Not Found) 
{noformat}

One workaround might be to have absolute paths in header.jsp:
{code:xml}
<link rel="stylesheet" href="${pageContext.request.contextPath}/stylesheets/base.css">
{code}

This task should investigate if there are other options.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira