• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet called multiple times

 
Hendra Kurniawan
Ranch Hand
Posts: 239
  • 0
  • 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?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic