}
RemoteApp app = null;
if (location==null) {
app = new RemoteApp(db,appE);
app.unmarshall();
if (!app.getIntrospection().isAbsolute()) {
getResponse().setStatus(Status.CLIENT_ERROR_BAD_REQUEST);
return new StringRepresentation("URI could not be resolved to absolute URI: "+appE.getAttributeValue("introspect"));
}
} else {