Click a link in one frame and display a JSP in the other frame
问题 I created two frames which respectively contain two links. When the first frame gets clicked, I would like to display a JSP page in the second frame. But I can't get it to work. When the first frame gets clicked, it opens the JSP page in a new window. I paste some of my code. This is my main.jsp <html> <frameset cols="50%,50%"> <frame src="frame1.jsp"> <frame src="frame2.jsp"> </frameset> </html> frame1.jsp <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">