On 4/23/07 8:23 AM, Jerome Louvel wrote:
>     // Create a new application and attach the component
>     MyApp application = new MyApp(component.getContext());
>     component.getDefaultHost().attach("/base", application);
> 
>     // Save away the URI prefix
>     Map<String, Object> restletAttributes =
> application.getContext().getAttributes();
>     restletAttributes.put(MyApp.URI_KEY, arg[0]);

Ah!  That did the trick -- thank you.


Peter
-- 
Peter Murray                            http://www.pandc.org/peter/work/
Assistant Director, New Service Development  tel:+1-614-728-3600;ext=338
OhioLINK: the Ohio Library and Information Network        Columbus, Ohio
The Disruptive Library Technology Jester                http://dltj.org/
Attrib-Noncomm-Share   http://creativecommons.org/licenses/by-nc-sa/2.5/

Reply via email to