I post some via AJAX in my servet from my jsp

```
$.ajax({                    
    url: 'myServlet?action=FEP',
    type: 'post',
    data: {machine: i, name: txt}, // i, txt have some values.
    success: function (data) {
        alert('success');
    }
});

```

and in my Serlvlet

```
String jspAction = request.getParameter("action");

//...

if(jspAction.equals("FEP")){
    int idMachine = Integer.parseInt(request.getParameter("machine")); 
    String name = request.getParameter("name");
    double value = actions.getValue(idMachine, name); //<-- this variable I want to send it back to the JSP.
}

```

The data are sent succesfully. However I haven't understand how I send back the `vaule` to the jsp..