Is it true that I can do <%@ include...anywhere in my jsp?? I tried doing this where I have a jsp ad I'm doing two includes in it and in the first include which I call start.jsp, I'm opening Hibernate transaction and I include this at the top of the page and in the end.jsp, I'm closing the hibernate transaction. Now when I include the end.jsp at the end of the page, I'm actually able to run index.jsp (the one which includes both start,jsp and end.jsp). But when I do the include for end.jsp somewhere else, I'm getting 500 error. One reason I can say is that I have some thing related to database happening in my index.jsp but before end.jsp (where I close the connection and so on).
My question here is what exactly happens when we include?? Can we do the include in any place or is it place sensitive?
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!