Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

displaying jsp inside a frame of another jsp

 
Ashwin Raghavan
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have a main Dashboard.jsp. On this i have two frames. suppose they are frame A and Frame B. Now the contents of Frame A is a jsp called Menu.jsp There are some button inside Menu.jsp

My requirement is ithat.. Depending on the buttons I click on Menu.jsp (the one embedded in Frame A), A new page should load on the Frame B.

I did this on Onclick of the buttons. but it does not seem to work.

top.frames['FrameB'].location.href = NewPage.jsp';
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic