aspose file tools*
The moose likes JSP and the fly likes what is the difference between  include taglib and RequestDispatcher.include Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

what is the difference between include taglib and RequestDispatcher.include

Abdul Aatif
Greenhorn

Joined: Feb 08, 2012
Posts: 23
what is the difference between
<%@ include file="index.jsp" %>

and

RequestDispatcher rd = request.getRequestDispatcher("index.jsp");
rd.include(request,response);

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61201
    
  66

Answered in the JspFaq. Please always check the FAQ before posting. Thanks.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: what is the difference between include taglib and RequestDispatcher.include