Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 7 of 7

Thread: New Window from a Servlet

  1. #1
    Junior Member
    Join Date
    Dec 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default New Window from a Servlet

    Hello All,

    How can I make a servlet open a new browser window (or a pop-up window) at the client end with an html form in it?

    Thanks a lot in advance,
    RookieServletPrgmer


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: New Window from a Servlet


  3. #3
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: New Window from a Servlet


  4. #4
    Junior Member
    Join Date
    Dec 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: New Window from a Servlet

    Hey Kevin,

    I am new to these forums.. Can I not post my question on multiple forums?

    Thanks & Regards,
    RookieServletPrgmer

  5. #5
    Junior Member
    Join Date
    Dec 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: New Window from a Servlet

    Hey Kevin,

    Don't you have the time to guide a rookie? You have all the time in the world to go to different sites and cross reference my post.... but you do not have time to guide me or help in my doubt or guiding me about the dos and donts of the site.

    Thanks for d help though !!

    Peace !!

  6. #6
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: New Window from a Servlet

    While cross-posting is not against the rules of this site, it is recommended that you respect the rules of other forums who do have such rules, and you post links to other forums where you have posted these questions. There are many reasons why, one example being quite often users spend their time (their unpaid free time) helping answering a post only to find their answer (or their questions to the original poster) redundant to a post at another forum. KevinWorkman has taken hist time to do this for you, and in fact let me know you already have a suggestion elsewhere - use javascript or the target attribute - these are beyond the scope of java and more HTML issues.

  7. #7
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: New Window from a Servlet

    Quote Originally Posted by RookieServletPrgmer View Post
    Don't you have the time to guide a rookie? You have all the time in the world to go to different sites and cross reference my post.... but you do not have time to guide me or help in my doubt or guiding me about the dos and donts of the site.
    The problem is, my time would be better spent helping posts that I know haven't found a solution elsewhere. You already received help in at least one other forum, so I'm not going to waste my time, or yours, reposting stuff you've already seen. And since I have no way of knowing where else you posted, that means I'm not going to bother trying to help when I have no way of knowing what help you've already received. That's what makes cross posting a bad idea even if it's not against the "rules" of this forum.

Similar Threads

  1. What are the requirements to develop Servlet Application?
    By yousef atya in forum Java Servlet
    Replies: 2
    Last Post: July 28th, 2011, 06:20 PM
  2. cmd.exe DOS Window
    By Curious in forum File I/O & Other I/O Streams
    Replies: 4
    Last Post: March 1st, 2010, 10:30 AM
  3. switch focus to another window
    By tuansoibk in forum AWT / Java Swing
    Replies: 1
    Last Post: November 13th, 2009, 02:02 PM
  4. Navigating from one window to another
    By visharaddhavle83 in forum AWT / Java Swing
    Replies: 2
    Last Post: August 6th, 2009, 07:55 AM
  5. I'm not sure how to initialize GraphicsDevice and Window
    By DotChris in forum AWT / Java Swing
    Replies: 3
    Last Post: July 15th, 2009, 09:00 AM