File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Use RequestDispatcher to include page content? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Use RequestDispatcher to include page content?" Watch "Use RequestDispatcher to include page content?" New topic
Author

Use RequestDispatcher to include page content?

Chrix Wu
Ranch Hand

Joined: Nov 15, 2009
Posts: 121
Can i Use RequestDispatcher to include page content?

why not?

there is a question in HFSJ book p810

** SCJP 5.0 84% **
** SCWCD 1.5 76% **
Abhay Agarwal
Ranch Hand

Joined: Feb 29, 2008
Posts: 1154
    
    1

Yes we can use include() method
Here is the examaple

include() method includes the content of a resource (servlet, JSP page, HTML file) in the response. The included servlet cannot change the response status code or set headers; any attempt to make a change is ignored.


Oracle Java Web Service Developer (1z0-897), Oracle certified Java 7 Programmer, SCJA 1.0, SCJP 5.0, SCWCD 5.0, Oracle SQL Fundamentals I
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Use RequestDispatcher to include page content?