Closed sharadr closed 12 years ago
I don't understand. Is their a JS in particular you are having issues with? The JS should be reading from web-app/root always unless it is read from plugin dir in which case it needs to be handled by 'resources'. In which case it should be brought into JS dir and point the resource to that dir.
Is that what you mean?
<script type="text/javascript" src="/js/superfish.js"></script>
these should have the app context (or be accessed as resources). If deployed under tomcat with a different context (/yana2), error 404 is thrown for these 2 js
Yeah definitely call via resources.
In grails-app/views/layouts/main.gsp
This should reference the context.