Hello Kevin,

at this time, the application is instantiated and attached, when handling the 
first request. The main reason is that the context path of the app is not known 
by advance.
You can still get this value as follow:
ServletContext context = (ServletContext) getContext().getAttributes()          
     .get("org.restlet.ext.servlet.ServletContext");
System.out.println(context.getContextPath());

Best regards,
Thierry Boileau

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2623703

Reply via email to