How do you communicate in between Applets and Servlets?
Submitted by: AdministratorWe 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.
Submitted by: Administrator
Submitted by: Administrator
Read Online Java Applet Job Interview Questions And Answers
Top Java Applet Questions
☺ | What is the order of method invocation in an Applet? |
☺ | Which method is used to output a string to an applet? Which function is this method included in? |
☺ | When is update method called? |
☺ | What is an Applet? Should applets have constructors? |
☺ | What tags are mandatory when creating HTML to display an applet? |
Top Java Programming Language Categories
☺ | Core Java Interview Questions. |
☺ | Hibernate Interview Questions. |
☺ | Advanced Java Interview Questions. |
☺ | IBM WebSphere Interview Questions. |
☺ | Spring Framework Interview Questions. |