servlet icon indicating copy to clipboard operation
servlet copied to clipboard

Part.write(String) is system dependent

Open gregw opened this issue 5 years ago • 0 comments

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.

gregw avatar Aug 07 '20 12:08 gregw