Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: how to create a jave applet that grabs the current URL in the browser and emails it.

  1. #1
    Junior Member
    Join Date
    Oct 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default how to create a jave applet that grabs the current URL in the browser and emails it.

    I am new to Java.

    How can I create a small webpart, which will display on each web-page of the site.

    The webpart will simply have 2 text-fields: "your email" and " your comment" and also a "Submit" Button.

    The visitor then can enter their email and comment an click Submit, at which point I need the webpart to
    grab the current URL of the page and send it along with the email and comment to an email address. ( i can
    use the email server at the host-company )


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: how to create a jave applet that grabs the current URL in the browser and emails it.

    Also posted at: how to create a jave applet that grabs the current URL in the browser and emails it.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. a applet is not working in browser
    By bhavesh in forum What's Wrong With My Code?
    Replies: 0
    Last Post: December 3rd, 2012, 01:27 PM
  2. Is there a way to find the url of the applet?
    By micro kid in forum Java Applets
    Replies: 1
    Last Post: June 11th, 2012, 07:21 AM
  3. Replies: 10
    Last Post: January 12th, 2011, 05:48 AM
  4. how to get url, from browser in the socket class?
    By chinni in forum Java Networking
    Replies: 0
    Last Post: November 6th, 2009, 10:34 AM
  5. Replies: 2
    Last Post: November 5th, 2009, 10:15 PM