tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Soper <sope...@gmail.com>
Subject Tiles CSS problem
Date Fri, 04 May 2012 08:40:07 GMT
Hi,
I'm having an issue with adding css & javascript files to my tiles.
in my layout.jsp file I use these lines to add them:
<link href="<s:url value="/css/common.css"/>" rel="stylesheet"
type="text/css" />
<script type="text/javascript" src="<s:url value="/js/common.js"/>"></script>

and they're rendered in the html as:
<link type="text/css" rel="stylesheet" href="/app/css/common.css">
<script src="/app/js/common.js" type="text/javascript">

and when I got to look at either I get:
There is no Action mapped for namespace / and action name common.css(/.js) error
It seems like it's trying to render both as pages.

Any ideas?
Thanks.

Mime
View raw message