Re: Odd issue with VirtualHost.setServerAddress

2007-08-17 Thread Jerome Louvel
Hi Alex, The serverAddress property indeed does comparisons based on the numerical IP address. There are some convenience static methods on VirtualHost: - getLocalHostAddress() - getIpAddress(String domain) This should get clarified in the Javadocs too. Best regards, Jerome 2007/8/17, Alex

Re: How to use servlet connector?

2007-08-17 Thread Alex
Hi, I've moved a Restlet.Application and a Restlet.Resource to tomcat. I run into the following problems. in servlet-mapping of web.xml, if I use /* or /dir/* , like below: servlet-mapping servlet-nameServerServlet/servlet-name url-pattern/*/url-pattern or

Re: Odd issue with VirtualHost.setServerAddress

2007-08-17 Thread Alex Milowski
On 8/17/07, Jerome Louvel [EMAIL PROTECTED] wrote: Hi Alex, The serverAddress property indeed does comparisons based on the numerical IP address. There are some convenience static methods on VirtualHost: - getLocalHostAddress() - getIpAddress(String domain) This should get clarified in

get and send Cookie not working....

2007-08-17 Thread Regis Leray
I dont understand, i try to send a cookie to my client browser (firefox, IE6 ) but it doesn't seems to work. so it is pretty simple i have a filter and a router (*filter*1) --- router - [handler1] | |-- [handler2] So here

Re: get and send Cookie not working....

2007-08-17 Thread Alex Milowski
On 8/17/07, Regis Leray [EMAIL PROTECTED] wrote: private Cookie hasCookie(Request request) { ListCookie cookies = request.getCookies(); //always NULL The getCookies() call should not return a null value. snip/ About my environment all of this it is run in a tomcat container,

xml representation

2007-08-17 Thread Peter Sole
It's been couple of days since I have started reading about restlet api. I am implementing a service where my restlet/resource gets normal HTTP POST and after some processing I am suppose to return xml message back. I was looking at restlet api and xmlWriter class etc. I also read that restlet