in Advanced 

Question preview

HomeQuestion preview:
Log in

how to post in a restlet

Hi,
I am using restlet, a REST framework. I get a page through a GET request and then i have form in it which POST to itself only.I get the following error

java.lang.IllegalStateException: The Web form cannot be parsed as no fresh content is available. If this entity has been already read once, caching of the entity is required

what is the mistake i am doing? infact it goes to the POST handler method acceptRepresentation() but this exception is thrown the moment i write Form f = new Form(entity);

Can someone help me i am hooked up in this for last 3 days.....its urgent...

Thanks,
Amit
Do you know someone who could answer? Ask him for help
Answers: 0
Sort by: date rating
Please vote! Your opinion matters!
If you haven't found what you've looking for, post a question
Ask question
| Home | Hall of fame | Registration | Log in | Terms of service | Privacy policy | Help | Contacts | RSS |