applet servlet communication: establishing a connection


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: applet servlet communication: establishing a connection

  1. #1
    shazia Guest

    applet servlet communication: establishing a connection


    Hello,

    I am new in applet servlet communication, and am doing a project on it.
    My project involves choosing some values from a popup menu on an applet and
    posting tose values to a servlet, which should the pass those values back.
    I am having a problem establishing a connection with the servlet.

    can some one give me the code for an applet and a servlet which will do the
    above operation. i.e choose a value from a popup menu on an applet, press
    a button so as to post the value to the servlet. The servlet then passes
    the values back on to a text box in the applet. This will therefore prove
    that applet servlet communication has taken place.


    Thanks in advance



  2. #2
    Jo Desmet Guest

    Re: applet servlet communication: establishing a connection

    there is a nice article about this on JavaWorld; follow
    this link:
    http://www.javaworld.com/javatips/jw-javatip34.html

    The example works fine for me, but as soon as I try to connect to a servlet
    within the companies intranet I get a FileNotFoundException whenever a
    getInputStream() is called. I could not find out why ...


    "shazia" <shaz12000@hotmail.com> wrote in message
    news:3992c6ea$1@news.devx.com...
    >
    > Hello,
    >
    > I am new in applet servlet communication, and am doing a project on it.
    > My project involves choosing some values from a popup menu on an applet

    and
    > posting tose values to a servlet, which should the pass those values back.
    > I am having a problem establishing a connection with the servlet.
    >
    > can some one give me the code for an applet and a servlet which will do

    the
    > above operation. i.e choose a value from a popup menu on an applet, press
    > a button so as to post the value to the servlet. The servlet then passes
    > the values back on to a text box in the applet. This will therefore prove
    > that applet servlet communication has taken place.
    >
    >
    > Thanks in advance
    >
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center