Home >Web Front-end >HTML Tutorial >How to make jsp contain a jsp page and at the same time control the display of another jsp content_html/css_WEB-ITnose

How to make jsp contain a jsp page and at the same time control the display of another jsp content_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:57:221211browse

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!


Reply to the discussion (solution)

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn