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
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
>
>