public String AddLink() throws Exception{
	
		String url=StringUtil.encodeString(request.getParameter("url"));
		String sitename=StringUtil.encodeString(request.getParameter("sitename"));
		String description=StringUtil.encodeString(request.getParameter("description"));
		 
	
		Link link=new Link();
		link.setLAddtime(new java.sql.Date(new java.util.Date().getTime()));
		link.setLInfo(description);
		link.setLIsLock(false);
		link.setLName(sitename);
		link.setLUrl(url);
		
		boolean ret1=dao.addLink(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="+URLEncoder.encode("增加友情链接出错！请联系管理员", "UTF-8"));
			return "fail";
		}
	}