InterviewSolution
| 1. |
How Would You Communicate Between Applets And Servlets? |
|
Answer» We can use the java.net.URLConnection and java.net.URL classes to open a standard HTTP connection and "tunnel" to a Web SERVER. The server then passes this information to the SERVLET. Basically, the applet pretends to be a Web browser, and the servlet doesn't know the difference.
We can use the java.net.URLConnection and java.net.URL classes to open a standard HTTP connection and "tunnel" to a Web server. The server then passes this information to the servlet. Basically, the applet pretends to be a Web browser, and the servlet doesn't know the difference.
|
|