Class MultipartRequest - Useful for creating file upload servlets. Parses a MultipartRequest and makes available all files and other parameters in the request. It provides a multi-threaded Server object which can be instantiated in a particular HostContext and distribute TCP connections to ConnectionHandler objects running in their own thread.
Thread pooling is provided for efficiency.
Java Network Programming FAQ - Frequently Asked Questions about network programming, with a good coverage of servlets. Includes source code examples.