public  String execute() throws Exception
	{
		bookname = getBookname();
		writername = getWritername();
		String index;
		String load = null;
		String []temp = new String[2];
		if(bookname.length()!=0||(bookname.length()!=0&&writername.length()!=0)){
			index="name";
			mylist = DBConnection.query(index,bookname,"dictionary");
			if(mylist.size()!=0){
				for(int i = 0;i<mylist.size();i++){
					temp = new String[2];
					temp[0]=(mylist.get(i))[0];
					temp[1]=(mylist.get(i))[1];
					smallist.add(temp);
			}
			bookname = temp[0];
			writername = temp[1];
			authorlist = DBConnection.query("name",writername,"author");
			load = "success";
			}
			else return load = "failed";
		}
		else if (writername.length()!=0){
			index="writer";
			mylist = DBConnection.query(index,writername,"dictionary");
			if(mylist.size()!=0){
				for(int i = 0;i<mylist.size();i++){
					temp = new String[2];
					temp[0]=(mylist.get(i))[0];
					temp[1]=(mylist.get(i))[1];
					smallist.add(temp);
			}
			bookname = temp[0];
			authorlist = DBConnection.query("name",writername,"author");
			load = "success";
			}
			else load = "failed";
		}
		return load;
	}