Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Java%20Applet%20Interview%20Questions%20and%20Answers

Question: How do you communicate in 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 the web server. The server then passes this information to the servlet in the normal way. Basically, the applet pretends to be a web browser, and the servlet doesn't know the difference. As far as the servlet is concerned, the applet is just another HTTP client.
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook