Home > Article > Web Front-end > How to make jsp contain a jsp page and at the same time control the display of another jsp content_html/css_WEB-ITnose
I have two jsps, one is index.jsp and the other is dialog.jsp. Dialog.jsp is a pop-up box of a div. The effect I want to achieve now is to click the button in index.jsp and use jquery Make the div pop-up box of dialog.jsp displayed in index.jsp, and the display of div is controllable.
I used the window.open method before, but Google Chrome cannot set the window's resizable and location address bar, so I can only ask for your help. Thank you!
Put the content of the dialog page instead of a separate page. Put it directly into index.jsp. Only in this way can we control it.
Problem solved! Thanks!