if(inbox!=null)
{
newRes.setLabel(addname);
//need to do this because it would add to WebBookmarkResource::listIsIn list
XfoafSscfResource newResXfoaf = XfoafSscfResource.getXfoafSscfResource(newRes.getURI().toString());
newResXfoaf.addIsIn(inbox);
}
}
}
resp.sendRedirect(addurl);