Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2010
    Rep Power

    Default Need help in redirecting to a url

    Need some idea da,

    To say exactly my requirement :

    Need to write a client application which needs to redirect to web page:

    1) To redirect to the home page , I am just using response.sendRedirect(website) and it is going fine. in this case the url is which is the homepage

    2) This is the home page( which requires username and password to be entered. After entering username and password , it goes to another page and after clicking another link in the page, it goes to the next page..and the url is

    So my requirement is I need to redirect to this page

    but on redirecting it goes to home page only ( But I am ready to give username and password credentials to directly to go to url but not sure how this can be done ?

  2. #2
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Rep Power


    Its not a correct one of redirecting like this...But u can encode and pass username and password by doing like this

    url ? username=xxx&password=yyy

Similar Threads

  1. Replies: 0
    Last Post: 09-24-2010, 06:11 AM
  2. Redirecting output at Thread level
    By beezerbutt in forum Advanced Java
    Replies: 8
    Last Post: 02-15-2009, 12:19 AM
  3. Replies: 1
    Last Post: 10-21-2008, 09:21 AM
  4. Redirecting HTTP request to another webserver
    By barunva in forum Networking
    Replies: 0
    Last Post: 10-21-2008, 08:50 AM
  5. how to get empty fields when redirecting to previous page
    By sireesha in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 09-09-2008, 07:51 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