How to Use iFrame in JSP
Java Server Page (JSP) is a server-side scripting language developed by Sun Microsystems and purchased by Oracle. JSP is a competitor of the two main alternative scripting languages "PHP" and Microsoft's Active Server Pages (ASP). Within JSP pages, you can use the Hyper Text Markup Language (HTML)-based IFRAME element to reference other JSP pages. You can implement the HTML code inside the JSP page and save it as a webserver directory index file.
Click on the Windows "Start" button, click on "All Programs," click on "Accessories," then click on "Notepad."
Copy and paste the following code into Notepad:Change "file.jsp" to the actual name of the JSP file to which you want to reference.
Press "Ctrl" and "S" on your keyboard and the file save dialog box will appear. Change the file save location to the directory in which the JSP file you want to reference exists, change the file type to "All Files," type the file name "index.jsp," then click on the "Save" button. This will save the file in the location you specified.