Re: Re: re servlet mapping question

2008-02-29 Thread TA
Mitch and Thierry thank you both very much, I understand now and got it working.

There's a bug with follow ups on this site

2008-02-29 Thread TA
I try and do a follow up and keep getting blocked because the site thinks I 'm doing top posting. The way I got around it was to take the follow up and remove all ">" characters from the message chain and that seemed to work.

Re: re servlet mapping question

2008-02-29 Thread TA
ay, just Tomcat) are very literal minded. Try requesting /testServlet/ or /testServlet/ somethingElse. Rhett Helo TA, try to request /testServlet/testServlet/*, because you give the "testServlet" double: one times in the web.xml and one times while attaching to the router. I think,

Re:re servlet mapping question

2008-02-28 Thread TA
Hi Stephan, Thanks for the reply. I tried it with /testServlet/testServlet/ and that did not work. I'm not sure I follow your suggestion - if I remove the url mapping from the defaultAttach call, all URLs will map to the servlet/restlet and I don't want that because I have other servlets running

servlet mapping question

2008-02-28 Thread TA
New user and I'm playing around with the firstStepsApplication using it in a tomcat web container. I'm trying to play with the routing. Instead of Router router = new Router(getContext()); router.attachDefault(HelloWorldResource.class); I'm trying to do router.attach("/testServlet",HelloW

Re: If I'm going to run Restlets inside Tomcat or any Servlet container........

2008-02-28 Thread TA
se case Thierry gave. > On Thu, Feb 28, 2008 at 11:05 AM, TA yahoo.com> wrote: > Do I need to create a Component instance and attach the Application > to it if I'm going to run Restlests inside a Servlet container? > > > >

If I'm going to run Restlets inside Tomcat or any Servlet container........

2008-02-28 Thread TA
New to Restlets and have a question. Apologies if it's come up before, I couldn't find it in the archives Do I need to create a Component instance and attach the Application to it if I'm going to run Restlests inside a Servlet container? I looked at the example com.testServlet.TestServletAppli