Section 5.1.1 Target

The target of a handler is an identifier for the resource that should handle the passed request. This is normally the URI that is parsed from an HTTP request. In two key circumstances, however, the target may differ from the URI of the passed request:

1.If the request has been dispatched to a named resource, such as a named servlet, then the target is the name of that resource.

2.If the request is being made by a call to RequestDispatcher.include(...), then the target is the URI of the included resource and will be different to the URI of the actual request.


  • Currently 3.03/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
  Flag Inappropriate Content 0 comments