Posted By:
rajeev_jha
Posted On:
Thursday, June 1, 2006 04:03 AM
This normally happens when myFaces servlet is not initialized. Try following steps
1.Add to web.xml
MyFacesExtensionFilter
org.apache.myfaces.component.html.util.ExtensionsFilter
Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
uploadMaxFileSize
8m
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
uploadThresholdSize
8m
Set the path where the intermediary files will be stored.
uploadRepositoryPath
/tmp
MyFacesExtensionFilter
*.jsf
MyFacesExtensionFilter
*.faces
MyFacesExtensionFilter
/faces/*
2. start your application using url for example
http://hostname:port/faces/login.jsp