Um, nothing because you overwrote the service method, which overrides the Servlets ability to "push" the request to the correct Post or Get method. You would need to call one of the doPost or doGet methods to get it to display anything, since the calls that are automatically done for you are gone by overriding the service method. Mark
Well, let me start off by saying you shouldn't override the service method unless you have a very good reason. As far as your question is concerned, the above code will not generate any output But, you could say something like this
in the HelloServlet.service() method. This would generate an output from the doGet() by default.
subject: what is the output of the code and why is it so????