8 Replies Latest reply: Nov 29, 2007 6:46 AM by 807603 RSS

    Including a filename

      I want to declare a filename as static in a page, say Hi.jsp. Now I want to include it in a page like the one below. But it give an error. Can any one tell me
      how to solve the problem?

      <%! String pageName="Hi.jsp";%>

      <%@ include file="<%=pageName%>" %>