Mitch and Thierry thank you both very much, I understand now and got it working.
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.
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,
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
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
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?
>
>
>
>
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
7 matches
Mail list logo