we may use the java.net.url and


We may use the java.net.URL and java.net.URLConnection classes to start a standard HTTP connection and "tunnel" to a Web server. The server then gives this information to the servlet. Basically, the applet behaves to be a Web browser, and the servlet doesn't find the difference. As far as the servlet is concerned, the applet is just another one HTTP client. Applets can interact with servlets using POST or GET function. The parameters may be passed between the servlet and the applet as name value pairs.

 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: we may use the java.net.url and
Reference No:- TGS0157369

Expected delivery within 24 Hours