This discussion is archived
0 Replies Latest reply: Mar 22, 2013 12:47 AM by 935578 RSS

include directive and jsp:include action tag

935578 Newbie
Currently Being Moderated
i made a page that call the simple printdate.jsp once using include directive and another time by using jsp:include
<%= new java.util.Date() %>
<% response.setHeader("refresh","1"); %>
with the include directive the time i got is the clock change time every sec and with action tag its not changning time.my question i read on tutorial that with the include directive jsp page translated only once so its batter to include static page and with the action tag use dynamic page.but i things its happening opposite in my case.dont know the much difference in these two.can somebody explain me the reason ?
sorry for this noob question

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points