How to include JavaScript file in JSF -


he truth code small since learning, can not make work, have touched other issues , have not found solution

 <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en"      "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"       xmlns:ui="http://java.sun.com/jsf/facelets"       xmlns:h="http://java.sun.com/jsf/html"       xmlns:f="http://java.sun.com/jsf/core"       xmlns:p="http://primefaces.org/ui"       xmlns:c="http://java.sun.com/jsp/jstl/core">      <h:head>         <h:outputscript library="js" name="jquery-last.js" />     </h:head>      <div id="header">         <div class="logo"></div>         <div class="medio">manager dx2</div>         <div class="fin"> </div>      </div>      <h:body>         <div class="body">             <div class="upbody">                 <div></div>                 <div>                     <a href="logout.xhtml" class="_btnlnk">salir</a>                 </div>             </div>              <div class="container">             </div>         </div>      </h:body>      </html> 

i add images error , able provide more information

1 2

thank help


Comments