This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
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)