Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

servlet called multiple times

 
Hendra Kurniawan
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 :

why is this?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!