Results 1 to 2 of 2
  1. #1
    suji is offline Member
    Join Date
    Feb 2008
    Posts
    1
    Rep Power
    0

    Default Code to connect to a web site

    hi all,
    Can anybody provide me details regarding how to connect to a website through java script?
    I have an interface designed using netbeans.I have to write a code such that when user clicks a button the data should be submitted to the site and process and return the results..Is there any way in Java.net package for doing this.Thanks in advance

  2. #2
    balanagireddy is offline Member
    Join Date
    Feb 2008
    Posts
    2
    Rep Power
    0

    Default

    I don't know whether you understand the difference between Java nad javascript. Javascript is entirely different from Java and has nothing to do with java. I dont know how you are trying to use a java package i.e java.net in javascript?

    I suggest you have a look at ajax with which you can send request from javascript using XMLHttp objects to servlet and process the request in server and return back thre response XMLHTTP object.

Similar Threads

  1. New java site for beginers
    By windyawarnapura in forum Java Software
    Replies: 1
    Last Post: 03-14-2008, 06:02 PM
  2. Site hacked
    By tim in forum Suggestions & Feedback
    Replies: 3
    Last Post: 02-02-2008, 09:47 AM
  3. How can I get a RealMedia file from a web site?
    By emesol0 in forum Networking
    Replies: 0
    Last Post: 01-24-2008, 07:01 PM
  4. An amateur Java Tutorials Site
    By elasolova in forum Reviews / Advertising
    Replies: 1
    Last Post: 01-18-2008, 09:23 PM
  5. Printing all IP address of a site
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-24-2007, 07:38 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
  •