permaculture playing cards
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: 63211
    
  69

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: what is the difference between include taglib and RequestDispatcher.include
 
It's not a secret anymore!