Package de.businesscode.bcdui.vfs.web
-
Interface Summary Interface Description VFSServlet.FileDAO abstraction to write into VFS, client has finally to callVFSServlet.FileDAO.commit()
-
Class Summary Class Description VFSServlet implements following REST API to upload binary data using file streaming API of apache commons-fileupload, see http://commons.apache.org/proper/commons-fileupload/streaming.html accepting POST for INSERT/UPDATE streams and DELETE for deleting them configuration (via servlet parameter): folder-name: abstract name which is used as prefix for all incoming file-names, read documentation onVFSServlet.doPost(HttpServletRequest, HttpServletResponse)
andVFSServlet.doDelete(HttpServletRequest, HttpServletResponse)
for more information and exception handling.VFSServlet.JdbcFileDAO unfortunately we cant work with DatabaseFileSystem / DatabaseFileObject directly to store data, so we do here lowlevel BLOB handling, works with bcd_virtualFileSystem binding-set NOT THREADSAFE