public String EditLink() throws Exception{
		Long lid=Long.valueOf(request.getParameter("lid"));
		String url=StringUtil.encodeString(request.getParameter("url"));
		String sitename=StringUtil.encodeString(request.getParameter("sitename"));
		String description=StringUtil.encodeString(request.getParameter("description"));
		LinkDAO dao=DAOFactory.getLinkDAO();
		
		Link link=dao.findLink(lid);
		link.setLId(lid);
		link.setLInfo(description);
		link.setLIsLock(false);
		link.setLName(sitename);
		link.setLUrl(url);
		boolean ret1=dao.updateLink(link);
		if(ret1){
//			response.sendRedirect("../admin/FriendLinkAdmin.jsp");
			return "success";
		}else{
			this.message=URLEncoder.encode("编辑友情链接出错！", "UTF-8");
//			response.sendRedirect("../admin/OpResult.jsp?op=default&ret=false&words=编辑友情链接出错！");
			return "fail";
		}
	}