Results 1 to 2 of 2
  1. #1
    kasisaiganesh is offline Member
    Join Date
    May 2008
    Posts
    1
    Rep Power
    0

    Default How to close an open JFrame window from a jsp page?

    How to close an open JFrame window from a jsp page?

    I have used the class file to create a JFrame and by importing that class file into my jsp page, and by calling a method in that class, I have enabled a JFrame window as a pop up. Now when I try to logout from that jsp page, all the sessions are closed, but this Jframe window cannot be closed.

  2. #2
    derrickD is offline Member
    Join Date
    Apr 2007
    Location
    USA
    Posts
    50
    Rep Power
    0

    Default

    Curious as to why you would go to all that trouble when all you need to do to create a popup is something like this:
    Java Code:
    <a href="#null"
                   onclick="newWindow('<s:url  action="whateverAction" namespace="/popup" /> ','popup','800','400','resizable,scrollbars')">
                    Click here for popup</a></td>

Similar Threads

  1. Go back to previous page using session in JSP page
    By gopikarikati009 in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 06-23-2011, 11:30 AM
  2. passing values from main page to pop up window
    By vicky in forum JavaServer Pages (JSP) and JSTL
    Replies: 4
    Last Post: 12-29-2008, 04:06 PM
  3. Drive letter sniff/open explorer window
    By iiz in forum New To Java
    Replies: 1
    Last Post: 04-04-2008, 04:50 AM
  4. Open "Save Page As" Dialog Box
    By Anubha in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 12-12-2007, 10:27 PM
  5. How to close a JFrame
    By valery in forum New To Java
    Replies: 1
    Last Post: 08-06-2007, 06:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •