I want to include a js file in my jsf page. i tried the usual way of doing it but it didnt work.
<script language="Javascript" type="text/javascript" src="js/alertMessages.js"></script>
I also tried the adf components as below: but there is no af:resource component in my adf lib.
<af:document>
<f:facet name="metaContainer">
<af:resource source="/mySourceDirectory"/>
</facet>
<af:form></af:form>
</af:document>
Please let me know how do i include the js file in my page.
Thanks...