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

    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 https://10.76.202.24/cus/showHome.do which is the homepage

    2) This is the home page(https://10.76.202.24/cus/showHome.do) 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

    https://10.76.202.24/cus/showReport....ter%20Overview


    So my requirement is I need to redirect to this page
    https://10.76.202.24/cus/showReport....ter%20Overview

    but on redirecting it goes to home page only (https://10.76.202.24/cus/showHome.do). But I am ready to give username and password credentials to directly to go to url https://10.76.202.24/cus/showReport....ter%20Overview but not sure how this can be done ?

  2. #2
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    835
    Rep Power
    6

    Default

    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
    Ramya:cool:

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-14-2009, 11:19 PM
  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
  •