I want to reference a javascript file named "primefaces_locales.js" into my template.xhtml
The javascript file is into "/myApp/src/main/webapp/resources/js/primefaces_locales.js"
I've wrote this, but it doesn't work (I can see that the js file is not found when I run the application):
<h:head>
<script language="javascript"
src="../resources/js/primefaces_locales.js" />
....