Hi Richard,

The ContextTemplateLoader ctl = new ContextTemplateLoader(getContext(), 
"clap:///"); loads the templates from the class path and in a WAR this is 
WEB-INF/classes and WEB-INF/lib. You have to put to 
WEB-INF/classes/authorize.html and it will find the page.

Other alternatives you can use the ContextTemplateLoader ctl = new 
ContextTemplateLoader(getContext(), "war:///WEB-INF/oauth2") 

Regards,
Laszlo

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

Reply via email to