uCosminexus Application Server, Messages

[Contents][Back][Next]

KDJJ20007-W

A servlet POST request, to the URI aa....aa, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.

aa....aa: URI
Description
The entity body of the received HTTP request contains information injected into a parameter annotated with the FormParam annotation. However, the entity body of the HTTP request might already be accessed from a servlet or servlet filter other than the Cosminexus JAX-RS functionality.
Action
The entity body of the HTTP request must not be accessed in a servlet or servlet filter other than the Cosminexus JAX-RS functionality. If the entity body of the HTTP request must be accessed, do not reference the entity body using the entity parameter in the Web resource.