What is the correct way of terminating a servlet that doesn't return any data to the client?
The purpose of the servlet in question is to recive some data from an Ajax request and fire off a TCP message to a piece of hardware to tell it to change it's state.
Do you have to specify a response at all?
I've opted for getting a reference to the Output stream and closing it, is this correct?
Should I send back a "hey that worked" message?