Set cookies

2010-10-18 Thread webpost
I'm having a heck of a time trying to set a cookie. This is the code I have so far: In the first part attempts to read any cookies that I put there before, this always comes up blank. The second part tries to add a new cookie to the response. Theres a few places that I could have gone wrong:

RE: Re: POST Requests return with a 405 with @Post annotated method

2010-10-18 Thread webpost
I get this problem with 2.0.1 and 2.1 fetched today (18 Oct 2010) (Java SE versions) using the internal server. The example FirstResource application fails. Problem also occurs with PUT. 2.0.RC4 works (well, that bit did) Peter Furniss -- htt

Setting cookies

2010-10-18 Thread webpost
I'm having a heck of a time trying to set a cookie. This is the code I have so far: In the first part attempts to read any cookies that I put there before, this always comes up blank. The second part tries to add a new cookie to the response. Theres a few places that I could have gone wrong:

Re: POST Requests return with a 405 with @Post annotated method

2010-10-18 Thread Alexander Kampmann
Same error with 2.1... On 17.10.2010 16:32, Alexander Kampmann wrote: > I would like to try an own build, but neither ant nor maven work for me. > > On 17.10.2010 14:56, Alexander Kampmann wrote: > >> hello, >> >> I am using the restlet- jars from the maven.restlet.org- Repository (so, >> the