How to include jquery.js in Grails?
问题 I have a Grails 2.0.0 project that was created using grails create-app . In my HTML and GSP files, I'm trying to include jquery.js . I've tried all of the following without success: <script type="text/javascript" src="jquery/jquery-1.7.1.js"></script> <script type="text/javascript" src="jquery/jquery.js"></script> <g:javascript library="jquery"/> The first two <script> tags results in 404 Not Found (verified with Firebug). The <g:javascript> tag results in nothing being included (verified