Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

including a frameset page into a JSP file

843835May 15 2002 — edited May 15 2002
Hi

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 12 2002
Added on May 15 2002
1 comment
240 views