File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple doGet and doPost confusion

 
Hardik Trivedi
Ranch Hand
Posts: 252
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all genius people,

I am working in jsp servlet.I have a working knoledge of it.
Few days ago I came across at very strange things.

What I was trying to do is to call a servlet from the URL itself. So it is obvious that servlet's doGet method will be called.
But when I dispatch the request to another servlet at that time also the doGet method of called servlet is called.

My question is why is it so? ???
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What else would you expect?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic