hi all, In my haeder fiel i declared global variables i needed on every page, can i use following include tag when i am using following line of code on top of my page it work. <%@ includefile='./../../GEN/GEN/header.jsp'%> but when i try to use include as a jps include like the code below
<jsp:includepage='../../GEN/GEN/header.jsp' flush='true'/> thanks, vaibhav this line not working .
posted 13 years ago
i think that's how it's supposed to work. their are advantages and drawbacks for both the include directive and the jsp:include, er, thingy. one advantage include has over jsp:include is that it can reference variables in the main page