As a quicky,
Instead of
Form form = new Form(entity);
What about
Form form = getRequest().getEntityAsForm();
Just wondering if new Form(entity) is buggy.
regis regis wrote:
I made some new progress, this error error is thrown when the entity
object is not available
entity.isAvailable() and it is the case when i display this value in
debug mode.
Also in debug mode the parameter "entity" in the public void
post(Representation entity) is not nul. This object is an instance of
an InputRepresentation instance and the attribute inputstream is null !
I try to give you more clue. i hope it will help.
Bye
On 8/23/07, *regis regis* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Thanks for the reply.
So i never use in my java code the entity (Representation object).
I attach my java code (i use also spring, and a servlet context).
=> Could give me more details about in which case to use the
handlePut() and the put(Representation entity) ?
Here my FormResource.java, as you will see in my code, i m just
testing the function.