Problem refering ApplicationResources.groovy file in gsp


New member
I am new to Grails. I have test application with feww gsp page.
I have ApplicationResources.groovy file in ../conf/ApplicationResources.groovy. which contain ccs and js files
When I refer this file in gsp. I am not getting css file pickup from resouces.

here is my ApplicationResources.grrovy file

modules = {
core {
// jquery core and jquery easing
resource url: '/js/jquery-2.0.0.js', disposition: 'head'
resource url: '/js/jquery-ui-1.9.2.js', disposition: 'head'

// bootstrap js
resource url: '/js/bootstrap.js', disposition: 'head'

// Main custom made styles
resource url: '/css/main.css', attrs: [media:'screen']
resource url: '/css/bootstrap.css', attrs: [media:'screen']
resource url: '/css/jquery-ui-1.10.4.css', attrs: [media:'screen']

// For calendar

// For pop Date/Time picker

//resource url: 'js/css3-mediaqueries.js', disposition: 'head'
} // end core

} // end modules


<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"><!--<![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title><g:layoutTitle default="LBL Systems" /></title>

<r:require modules="core"/>


<body class="mainBodyBG">

<div id="mainDiv" class="container-fluid">

<div class="row-fluid">
<div id="topHeader" class="span12 fl-banner-common last" style="height:80px; background-color:#DDC78C;">
<g:render template="/common/topMenu"/>

<div class="row-fluid">
<div id="leftDiv" class="span9" style="height:100%; background-color:#F7F78A;">
<!-- Display main index.gsp ie view/index.gsp -->

<div class="row-fluid">
<div id="footer" class="span12" style="height:50px; background-color:green;">
<g:render template="/common/footer"/>

<div id="spinner" class="spinner" style="display:none;">
<g:message code="spinner.alt" default="Loading…"/>

</div> <!-- end container-fluid -->

<r:layoutResources />


Please can someone help what I am doing wrong.