I found the catch: my code works only in Online project, and not in Offline project. The same happens when using org.opencms.util.CmsRequestUtil#readMultipartFileItems(). this looks like a good start... alessandro