my css file dosent work.
opera shows me:
http://localhost:8080/formularz-web/faces/javax.faces.resource/css/mycss.css Failed to load resource: the server responded with a status of 404 (Not Found)
netbens shows me:
Warning: JSF1064: Unable to find or serve resource, css/mycss.css.
its mean my project doesn't see the css file.
in index.xhtml i have:
<html xmlns="http://www.w3c.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:pt="http://xmlns.jcp.org/jsf/passthrough"
xmlns:f="http://xmlns.jcp.org/jsf/core">
<h:head>
<title>Kwestionarisz osobowy - rejestracja PAW</title>
</h:head>
<h:body>
<f:facet name="last">
<h:outputStylesheet name="css/mycss.css" />
</f:facet>
<h:form styleClass="mycss">
i tried put h:outputStylesheet into h:head.
i tried dont use f:facet.
i tried add library="css".
i tried another path to the file:
h:outputStylesheet name="mycss.css" (delete css folder and put css file directly to webapp
h:outputStylesheet name="src/main/webapp/css/mycss.css"
h:outputStylesheet name="#{request.contextPath}/css/mycss.css"
what do i wrong