public void doGet(HttpServletRequest request, HttpServletResponse response, String[] uri, HorusBaseDAOCRUDInterface basedao) {
		try {
			content = new Hashtable<String, String>();
			data = new ArrayList<Map<String, String>>();

			if (uri.length > 4) {
				switch (uri[4]) {
				case "id":
					rs = basedao.getId(uri[5]);
					break;
				case "where":
					rs = basedao.getByWhere(uri[5], uri[6]);
					break;
				default:
					if (uri.length > 6) {
						rs = basedao.getLista(uri[4], uri[5], uri[6]);
					} else {
						if (uri.length > 5) {
							rs = basedao.getLista(uri[4], uri[5]);
						} else {
							rs = basedao.getLista(uri[4]);
						}
					}
					break;
				}
			} else {
				rs = basedao.getLista();
			}

			ResultSetMetaData rsMetaData = rs.getMetaData();
			int numberOfColumns = rsMetaData.getColumnCount();
			while (rs.next()) {
				for (int i = 1; i <= numberOfColumns; i++) {
					String ColumnName = rsMetaData.getColumnName(i);
					content.put(ColumnName, (rs.getString(ColumnName) != null ? rs.getString(ColumnName).trim() : ""));
				}
				data.add(new Hashtable<String, String>(content));
				content.clear();
			}
			jsonString = JSONValue.toJSONString(data);
			response.setContentType("application/json;charset=UTF-8");
			response.getWriter().println(jsonString);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}