protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		Object temp=request.getAttribute("Data");
		Class c = temp.getClass();
		String className=c.getName();
		if (className.compareTo("java.util.LinkedList")==0){ //Deal with a linked list
			List Data = (List)request.getAttribute("Data");
			Iterator iterator;
			JSONObject JSONObj=new JSONObject();
			JSONArray Parts=new JSONArray();
			iterator = Data.iterator();     
			while (iterator.hasNext()){
				Object Value=iterator.next();
				JSONObject obj =ProcessObject(Value);
				try {
					Parts.put(obj);
				}catch (Exception JSONet){
         			System.out.println("JSON Fault"+ JSONet);
         		}
			}
			try{
				JSONObj.put("Data",Parts);
			}catch (Exception JSONet){
     			System.out.println("JSON Fault"+ JSONet);
     		}
			if (JSONObj!=null){
				PrintWriter out = response.getWriter();
				out.print(JSONObj);
			}	
			
		}else{
			Object Data=request.getAttribute("Data");
			JSONObject obj =ProcessObject(Data);
			if (obj!=null){
				PrintWriter out = response.getWriter();
				out.print(obj);
			}	
		}
	}