Here's some of what I've tried so far.
Partial servlet code:
and on the client side:
("para" is just an empty paragraph that I am using to get some test output)
I've also tried:
(ie changing the eval argument)
I've also tried taking out the square brackets in the servlet string.
and this is exactly what I get when, as Kengkaj suggested, I use alert(request.responseText)