Implement a resource method to receive multipart/form-data parts from an HTML form submission.
Configure the JAX-RS application.
Parent
Use multipart/form-data content in JAX-RS application requests and responses
RESTful services can receive content from an HTML form submission.
What to do next
Assemble JAX-RS web applications.
Subtopics
- Configure a resource to receive multipart/form-data parts from an HTML form submission
HTML forms that transmit file data must be configured with the POST method and the "multipart/form-data" action. This data can be received in one of two ways by the JAX-RS resource method that accepts it with the IBM Java API for RESTful Web Services (JAX-RS) implementation.
Related tasks
Configure a resource to receive multipart/form-data parts from an HTML form submission