Hi, I've just deleted the Application class and typed it all again from scratch and it works. I can only assume it must have been something to do with those strange characters - I did originally copy and paste the guard code from a website and I noticed then that the getSecrets().put line would not parse in Netbeans unless I typed it in.
Thanks again for you time Thierry, Bedwyr. ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2442091

