tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Petrelli <antonio.petre...@gmail.com>
Subject Re: Tiles CSS problem
Date Fri, 04 May 2012 08:57:37 GMT
Not a Tiles problem I suppose...

2012/5/4 James Soper <soper.j@gmail.com>

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message