Quoting Martin Marinschek <[EMAIL PROTECTED]>:

Well,

it looks as if your FacesServlet doesn't work any more - are you sure
you keep the mapping of the faces servlet, and also have the right
sequence of things in your web.xml?

Martin, here is my web.xml file......

<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
 <session-config>
   <session-timeout>30</session-timeout>
 </session-config>
 <welcome-file-list>
   <welcome-file>index.jsp</welcome-file>
   <welcome-file>index.html</welcome-file>
   <welcome-file>index.htm</welcome-file>
 </welcome-file-list>
   <!-- Extensions Filter -->
   <filter>
       <filter-name>extensionsFilter</filter-name>
<filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
       <init-param>
           <param-name>uploadMaxFileSize</param-name>
           <param-value>100m</param-value>
           <description>Set the size limit for uploaded files.
               Format: 10 - 10 bytes
                       10k - 10 KB
                       10m - 10 MB
                       1g - 1 GB
           </description>
       </init-param>
       <init-param>
           <param-name>uploadThresholdSize</param-name>
           <param-value>100k</param-value>
           <description>Set the threshold size - files
                   below this limit are stored in memory, files above
                   this limit are stored on disk.

               Format: 10 - 10 bytes
                       10k - 10 KB
                       10m - 10 MB
                       1g - 1 GB
           </description>
       </init-param>
<!--        <init-param>
           <param-name>uploadRepositoryPath</param-name>
           <param-value>/temp</param-value>
<description>Set the path where the intermediary files will be stored.
           </description>
       </init-param>-->
   </filter>
   <filter-mapping>
       <filter-name>extensionsFilter</filter-name>
       <url-pattern>*.jsf</url-pattern>
   </filter-mapping>
 <!-- Faces Servlet -->
 <servlet>
   <servlet-name>Faces Servlet</servlet-name>
   <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
   <load-on-startup> 1 </load-on-startup>
 </servlet>
 <!-- Faces Servlet Mapping -->
 <servlet-mapping>
   <servlet-name>Faces Servlet</servlet-name>
   <url-pattern>*.jsf</url-pattern>
 </servlet-mapping>

</web-app>





--
Francesco Consumi
Ufficio Sistemi informativi
Istituto degli Innocenti
Piazza SS.Annunziata, 12
50122 Firenze
consumi at istitutodeglinnocenti.it
Tel. +39 055 2037320
ICQ# 12516133


Reply via email to