Results 1 to 4 of 4
  1. #1
    strongarm is offline Member
    Join Date
    Jul 2010
    Posts
    2
    Rep Power
    0

    Default Get requested URL from Browser

    Hello,

    I'm new to Java and would like to listen for changes happening in the URL field of Internet Explorer, Chrome, Firefox or Safari.

    Reason: I am running a website called bonuspoints.ch. Users get points if they are buying a product over our website. But many users forget to log in before they buy something at the shop. So our affiliate id is not transfered and we are unable to give the points to the user. This is why I would like to create an app that checks the browser URL and asks the user to add the affiliate id so that he will receive points for his purchase.

    Does anybody know a way how to do it in Java? I know it's possible at least for IE using the COM Object in C#. But I would prefer Java as it has to run on different OS.

    Thanks for your help.

    Kind regards,
    Chris

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,403
    Rep Power
    25

    Default

    Where and how would your code connect to what a browser is doing?

    Sounds like an app for third party cookies.

  3. #3
    strongarm is offline Member
    Join Date
    Jul 2010
    Posts
    2
    Rep Power
    0

    Default

    I guess it is simply not possible :-) Third party cookies are cool but as I read that this is used to track users over different websites.

    Thanks for your reply.

    Chris

  4. #4
    Webuser is offline Senior Member
    Join Date
    Dec 2008
    Posts
    526
    Rep Power
    0

    Lightbulb

    Quote Originally Posted by strongarm View Post
    Hello,

    I'm new to Java and would like to listen for changes happening in the URL field of Internet Explorer, Chrome, Firefox or Safari.

    Reason: I am running a website called bonuspoints.ch. Users get points if they are buying a product over our website. But many users forget to log in before they buy something at the shop. So our affiliate id is not transfered and we are unable to give the points to the user. This is why I would like to create an app that checks the browser URL and asks the user to add the affiliate id so that he will receive points for his purchase.

    Does anybody know a way how to do it in Java? I know it's possible at least for IE using the COM Object in C#. But I would prefer Java as it has to run on different OS.

    Thanks for your help.

    Kind regards,
    Chris
    I think you can put your attention on servlets and sessions ;)
    If my answer helped you. Please click my "REP" button and add a comment
    Have a Good Java Coding :)

Similar Threads

  1. The requested resource () is not available. Error
    By shyameni in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 03-17-2010, 09:22 AM
  2. The requested resource is not available.
    By ravichandra.t in forum Java Servlet
    Replies: 0
    Last Post: 07-29-2009, 02:18 PM
  3. The requested resource (/Test.war/index.jsp) is not available.
    By rameshraj in forum JavaServer Faces (JSF)
    Replies: 1
    Last Post: 04-05-2009, 11:41 PM
  4. Question/Help Requested (Java 1.4.2_06 Applet)
    By bobbypierce in forum New To Java
    Replies: 0
    Last Post: 01-19-2009, 02:08 PM
  5. Replies: 0
    Last Post: 06-25-2008, 12:41 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
  •