Hi,
I have a simple
Servlet (stateless) which has a doGet() metohd. And I am using
tomcat as my servlet engine.
protected void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
String arg = request.getParameter("p");
response.setStatus(HttpServletResponse.SC_OK);
return;
}
How can I make sure both Tomcat and the client calling that servlet's
doGet() to close all the ports (server and client) allocated upon the doGet() request.
Thank you.