Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Aug 2008
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Help on servlet page redirect

    Hi All,

    Am new to servelts and jsp also to java script.

    This is the issue am facing.

    1. A form is submitted(login form)
    2. The values from the text box will be sent to a servlet
    3. After validation for the userid and password.
    4. The servlet will redirect to a different page
    5. I wanted to display the resultant page in the new frame(target frame).

    Can any one help me how to proceed with the step 5.

    thanks in advance.

  • #2
    Senior Coder shyam's Avatar
    Join Date
    Jul 2005
    Posts
    1,563
    Thanks
    2
    Thanked 163 Times in 160 Posts
    submit the login form to the desired target...

    Code:
    <form target="targetframe" action="login.do">
    </form>
    You never have to change anything you got up in the middle of the night to write. -- Saul Bellow

  • #3
    New Coder
    Join Date
    Aug 2008
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you that worked.


  •  

    Posting Permissions

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