Etat http 404:la ressource demandé n'est pas disponible
jarule86
-
31 déc. 2012 à 04:29
cs_Julien39
Messages postés6414Date d'inscriptionmardi 8 mars 2005StatutModérateurDernière intervention29 juillet 2020
-
3 janv. 2013 à 09:13
je debute avec JSF et j'essaye de langer mon projet avec tomcat ou bien jbos5 et le resultat est la suivant : Etat http 404:la ressource demandé n'est pas disponible
les repertoires des deux fichier :
achatweb/webcontent/WEB-INF/web.xml
achatweb/webcontent/web/index.jsp
</context-param>
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
</filter>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>
<login-config>
BASIC
</login-config>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
*.jsf </servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
*.faces </servlet-mapping>
<context-param>
<description>
This parameter tells MyFaces if javascript code should be allowed in
the rendered HTML output.
If javascript is allowed, command_link anchors will have javascript code
that submits the corresponding form.
If javascript is not allowed, the state saving info and nested parameters
will be added as url parameters.
Default is 'true'</description>
org.apache.myfaces.ALLOW_JAVASCRIPT
true
</context-param>
<context-param>
<description>
If true, rendered HTML code will be formatted, so that it is 'human-readable'
i.e. additional line separators and whitespace will be written, that do not
influence the HTML code.
Default is 'true'</description>
org.apache.myfaces.PRETTY_HTML
</context-param>
<context-param>
<description>
If true, a javascript function will be rendered that is able to restore the
former vertical scroll on every request. Convenient feature if you have pages
with long lists and you do not want the browser page to always jump to the top
if you trigger a link or button action that stays on the same page.
Default is 'false'
</description>
org.apache.myfaces.AUTO_SCROLL