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 serviet in the normal way. Basically, the applet pretends to be a web browser, and the serviet doesn’t know the difference. As far as the serviet is concerned, the app let is just another HTTP client.
No comments:
Post a Comment