Hi! I wanted to know 1. is HTTP server and web server are same thing ? 2. How applet communicates with servelet? shivani
Scott Stirling
Greenhorn
Joined: Mar 05, 2001
Posts: 24
posted
0
1. Yes 2. It's up to you. Usually via URLConnections and ObjectStreams (if sending objects). Depends on what kind of data you're sending back and forth. Could also use HTTP or RMI.
Scott Stirling<BR>Author of <A HREF="http://www.amazon.com/exec/obidos/ASIN/067231939X/ref=ase_electricporkchop/107-2476442-4883722" TARGET=_blank rel="nofollow">Java Server Pages Application Development</A>
Alan Shore
Ranch Hand
Joined: Apr 16, 1999
Posts: 147
posted
0
For the Applet to Servlet communication, check out Jason Hunter's "Java Servlet Programming" Chapter 10. You can get the source code here: http://www.servlets.com/jsp/examples/ch10/index.html This example uses a HttpMessage object written by Hunter. You can download any helper classes from the Hunter's main page http://www.servlets.com [This message has been edited by Glen Tanner (edited March 06, 2001).]
Malu Sivasankar
Greenhorn
Joined: Aug 02, 2000
Posts: 14
posted
0
Pl. read this article @ webbasics for web server basics