System.out.println(user+" "+siocResource+" "+type);
if(user!=null&&!"".equals(user)&&siocResource!=null&&!"".equals(siocResource)&&type!=null&&!"".equals(type))
{
SiocBookmarks b = SiocBookmarks.getInstace(user);
if(type.equals("site"))
b.bookmarkSiocData(SIOC.Site, siocResource);
if(type.equals("forum"))
b.bookmarkSiocData(SIOC.Forum, siocResource);
if(type.equals("post"))
b.bookmarkSiocData(SIOC.Post, siocResource);
response.getWriter().write("OK");
}
else
request.getRequestDispatcher("/siocBkmrkTest.jsp").forward(request, response);