Win a copy of Murach's Python Programming this week in the Jython/Python forum!
    Bookmark Topic Watch Topic
  • New Topic

include directive and action difference in JSP  RSS feed

 
jawaharlal vislawath
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please explain

How we see the difference between include action and directive in JSP,

<%@include file="includes/header.jsp" %>

<jsp:include page="Included.jsp" />

Thanks
Jawahar
 
Sourabh Bawage
Ranch Hand
Posts: 33
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Report post to moderator
page directive---- code inclusion.
action include---- output inclusion.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65825
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
This is covered n the JspFaq. Please check the FAQs before posting.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!