Doubt in assigning a text value to a java variable

2010-12-23 Thread webpost
Hi, Am working in a restlet 2.1. I created a html program, in that am having a textbox. I can able to access the Restlet 8182 port via html program using get method. How i should want to assign the value of the textbox created in html to a java variable. Can anyone please help me? Thanks

Re: Re: org.restlet.lib.org.json has malformed Maven data. Any plans to release it with valid metadata?

2010-12-23 Thread Romain
It's not exactly the same problem, but here is what I get from my resolver groove grapes : General error during conversion: Error grabbing Grapes -- [unresolved dependency: org.restlet.jse#org.restlet.lib.org.json;2.0: several problems occurred while resolving dependency:

Re: What replaces GetEntityAsForm?

2010-12-23 Thread Beefnugget
Thanks for the reply. My input is a regular POST form such as: --- htmlbody h1Register a server:/h1p(note: each server requires a unique login, multiple logins from different ips may result in a ban)/pp(note: Write this login information down, you will not be able to

RE: What replaces GetEntityAsForm?

2010-12-23 Thread Jerome Louvel
Hi, The suggested propositions should work. The simplest way might be this: @Post(form:html) public String submit(Form form) throws Exception { ... } If you still get your java.lang.IllegalStateException, it means that something upstream already consumed the