Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
    Bookmark Topic Watch Topic
  • New Topic

opening popup window conditionally

 
Vaithiya Sundaram
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Report post to moderator
From a JSP called "ABC.jsp", when I click "View Item" button it should call
corresponding action class,process and display results(displayitems.jsp) in a popup window. for some reason if the result is error page or login page then the popup window should not be opened rather it should replace ABC.jsp in main window.

i.e.
If result is displayitems.jsp I want to open this jsp in pop up window and
keep ABC.jsp open in main window.
If result is some other page I want to replace ABC.jsp with result page in
main window.

how to do this opening the popup window conditionally i.e. based on result
page?

Your response is appreciated!
Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64843
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums.
 
    Bookmark Topic Watch Topic
  • New Topic