User Profile

Collapse

Profile Sidebar

Collapse
rajiv82
rajiv82
Last Activity: Dec 5 '09, 09:04 AM
Joined: Dec 1 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • rajiv82
    replied to How to get referrer of parent page?
    in Java
    One more issue with this:(

    Previously I hard coded my URL like setHeader("Loca tion", "http://server:host/a/abc/Main.jsp) and it worked all the time.

    But, I can't hard code the URL as it contains server/host/directory structure, etc..

    How can I get the URL of parent of IFrame and store it permanently to always pass that URL in setHeader ?

    I have checked in my Page1.jsp, first...
    See more | Go to post

    Leave a comment:


  • rajiv82
    replied to How to get referrer of parent page?
    in Java
    Thanks a lot man, it really worked
    See more | Go to post

    Leave a comment:


  • rajiv82
    replied to How to get referrer of parent page?
    in Java
    Thanks hsriat for your reply. How can I redirect HTTP_REFERRER to Main.jsp
    I used setHeader to set the Referer to Main.jsp, but IE again sets it to page1.jsp
    See more | Go to post

    Leave a comment:


  • rajiv82
    started a topic How to get referrer of parent page?
    in Java

    How to get referrer of parent page?

    I have a main page say Main.jsp which has a Iframe in it whose src is page1.jsp

    Page1.jsp has a form in it and we have a button on Main.jsp

    We submit form inside Ifame(page1.jsp ) using the button on main page with javascript.

    Once a form is submitted, we redirect it to some error page in case of error.
    Here we have a back button which should move us to Main.jsp.

    We are using referer for identifying...
    See more | Go to post
    Last edited by Frinavale; Dec 2 '09, 05:46 PM. Reason: Moved to Java from HTML.
No activity results to display
Show More
Working...