In following which is better to use:
(What I'm doing is extract parameter from request with the uploaded file.)
In following which is better to use:
(What I'm doing is extract parameter from request with the uploaded file.)
I'd argue that Apache Commons is better to use simply because it still gets activity. O'reilly hasn't been touched in many years. I recall switching for some reason, but it has been so long I don't even recall now.
Here one reference to a bug in O'reilly when used with Struts 2.
Apache Commons is best to use for file upload
dvantage I see is the amount of coding, with very few lines of code you can replace the Apache commons file upload its most popular library for handling file uploads in Java Servlets,