Please tell me whether the above code is valid? Or will it call the intend page?
Above code is perfectly valid and it will forward the request to included_page.html. request dispatcher is to dispath the current request to any other resource,which you can access from a direct request from your browser,static or dymanic does not matter.
I thought you can't include binary content in a forward/include fashion if you don't set the contentType before as corresponding and use getOutputStream. By default contentType is "text/html".. Now i remember a HFSJ question on that, though i don't have the book now and can't remember the chapter.