Re: Router in servelet not routing to correct resource

2009-10-22 Thread Matt Stromske
again,br Mattbr br Matt Kennedy wrote: blockquote cite=mid:682073e5-25b8-47b9-970e-182d4990e...@gmail.com type=cite pre wrap=I'm not 100% sure based on that description, but try setting your second router line to: router.attach(/test1) On Oct 21, 2009, at 1:19 PM, Matt Stromske wrote

Router in servelet not routing to correct resource

2009-10-21 Thread Matt Stromske
Hello, I can't figure out why my router isn't routing to the correct resource. It always seems to route to the default route. I have 2 routes: router.attachDefault(DefaultResource.class); router.attach(/gpsh/test1,TestResource.class); My servlet container mapping:

Client (HTTP) and query encoding of space characters

2009-10-01 Thread Matt Stromske
Hello, I'm using a Client with the HTTP protocol. I'm sending a GET with a query and I noticed that space characters are encoded to + (plus) signs. I would like them encoded to %20 instead. Is there a way to do this? Thanks, Matt --

Extracting XML from Representation from POST

2009-09-22 Thread Matt Stromske
Hello, How do you extract the XML from a POST request? I've tried using the input stream of the representation in conjunction with a SAXBuilder (JDOM) object, but that doesn't seem to work. Then, I tried 'Form' and got a little further. I noticed the Form was populated. How can you pull

Setting POST parameters

2009-09-11 Thread Matt Stromske
Hello, How do you set POST parameters in the body of the message? Thanks, Matt -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2393357

Re: restlet server NoSuchMethodError

2009-06-05 Thread Matt Stromske
-- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2359005 -- Matt Stromske Software Engineer Singlewire Software, LLC www.singlewire.com -- 608.298.1020 matt.strom...@singlewire.com

Re: Tomcat not shutting down with Restlet

2009-05-14 Thread Matt Stromske
oelios.com -Message d'origine- De : Michael McCallum [mailto:gho...@xtra.co.nz] Envoyé : mardi 12 mai 2009 01:08 À : discuss@restlet.tigris.org Objet : Re: Tomcat not shutting down with Restlet On Tue, 12 May 2009 06:47:53 Matt Stromske wrote: Still no reply on this yet.