This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
my FirstServlet class is mapped to url pattern "/" (without quotation mark), so when I tried to call from browser with url localhost/myapp, I notice the service method was invoked three times. why is this? the content of the service method is a one liner : System.out.println("invoked");
the jsp has nothing inside :