How do I send an element of type object via ajax to a servlet?
In the ajax I am passing the value as follows below:

```
data: { mapList : mapLists }

```

To get the value in the Servlet am doing follows below:

```
Object o = request.getAttribute("mapList");
System.out.println(o);

```

However, the returned value is always **null**. What should I do to get around this problem?