servlet
servlet copied to clipboard
Part.write(String) is system dependent
The API Part.write(String) takes a system dependent string that can either be a path or a filename. This can make it difficult to write portable code.
A possible solution is to provide alternative methods should be provided, one that takes a File and another that explicitly takes a URI path.