The code in PDFDisplay is working and displaying the image which I want to display. But the image is displayed in the old page. The url is not changing in the webbrower. What should I do to change the url to point to this servlet page. Any pointer would be greatly appreciated.
Since the forwarding is done by web server, so client does not know about this forwarding. Thats why browser url will not change with forward. But still the servlet container will execute the service method of PDFDisplay Servlet.