• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

including a jsp in another jsp as a popup

 
L tenzil
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64717
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
window.open() opens up a new page, so why would you include that other page in the current JSP?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic