aspose file tools*
The moose likes JSF and the fly likes IBM-JSF View-State Compression Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "IBM-JSF View-State Compression" Watch "IBM-JSF View-State Compression" New topic
Author

IBM-JSF View-State Compression

Benedict Chng
Greenhorn

Joined: Jan 11, 2004
Posts: 7
I have a question about JSF view-state compression. I configured client-side state-saving for our JSF application in web.xml and turn compression ON (parameter javax.faces.STATE_SAVING_METHOD set to client and parameter com.sun.faces.COMPRESS_STATE set to true) but that didn�t work. No error is thrown and the application works as usual.

The reason I know it didn�t work is because I compared the HTML generated with and without compression and they are exactly the same.

I also have a question about this configuration parameter in web.xml - com.ibm.faces.ENHANCED_SERVER_STATE_SAVING_SESSION_STORED_VIEWS. Searching in Google and DeveloperWorks search turned up nothing useful.

I am using IBM JSF implementation and using Websphere 6.1.0.5.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: IBM-JSF View-State Compression