I am including header.jsp and footer.jsp into Main.jsp. Header.jsp and footer.jsp has some jsp expression tags which will get the values from variables which are declared in Main.jsp. Thanks in Advance
Hi, How are you including those jsp's in the Main.jsp ? It will be better if you post your code here. Anyways, i'll give it a blind try. If you are using <%@ include file="/jspName.jsp" %>, put it after the variable declaration in Main.jsp. If you are using jsp:include, then it wont work as far as I know. Because, jsp:include will not copy the source into Main.jsp (as opposed to include file). It puts the o/p of the included file and not the source. Correct me if I'm wrong.
"Where there's a will, I want to be in it."
Joined: Apr 15, 2004
exactly I am doing the same way. It's working ,if I deploy directly to the server. My probs is, it's not working,if I build thru eclipse.