I completed a practice exercise where a
servlet sends a message and receives it, now I'm just trying to make it do multiple messages.
Here's the servlet in question. Whenever it prints a message, it just prints the first message I've ever sent it. I'm not sure how to pull the rest out of the queue, or tell if they're even reaching the queue.
And the sender:
Any help/explanations be greatly appreciated.
And the receiver: