including a frameset page into a JSP file
843835May 15 2002 — edited May 15 2002Hi
I hope if I could get help with this issue.
I am having a JSP page (say main.jsp), it has a jsp:include that includes a nother JSP file dependning on the user's selection. I read the the file name from the request object into a variable (say filename) and then pass it to the jsp:include page value like:
<jsp:include page="<%=filename%>" />
the first file is displayed fine. All my subsequents pages are desinged with frameset and when calling them they never get displayed. In other word, when this filename happens to be a file with a frameset, it doesn't get displayed. And when I see the source code I only see the page frameset HTML listing but not the processed page.
My frameset pages are consists of two frames. the first one calls a servlet and the other one load another JSP file
Please let me know what wrong I've been doing. Is there any thing special with including a frameset page inside a JSP file.
haybu