This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes including a jsp in another jsp as a popup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "including a jsp in another jsp as a popup" Watch "including a jsp in another jsp as a popup" New topic
Author

including a jsp in another jsp as a popup

L tenzil
Greenhorn

Joined: Mar 04, 2013
Posts: 3
i have tried these codes

window.open('http:../location/filename.jsp','filename','width=400,height=300');

<jsp:include page=filename />

nothing works

I'm getting a popup window for the code window.open with no content but it gets the location and the size exactly as i mentioned.

For the code jsp include, i'm getting the jsp page above my previous page.

Please Help!!!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60802
    
  65

window.open() opens up a new page, so why would you include that other page in the current JSP?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Consider Paul's rocket mass heater.
 
subject: including a jsp in another jsp as a popup
 
Similar Threads
Link in jsf
Disabling the title bar
history.back() not retaining changed values in previous page after window.open() call
Unable to change the location of popup window in Netscape and Opera
save as dialog problem