This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have read JavaServlet Programming and there is an example about applet-servlet communication. There are three classes in this example. One for an applet, one for a Servlet and one for HTTP(applet-servlet communication). HTTP class is imported in an applet class.
The question is " Which directory in the deployment environment I have to put there 3 classes ?".
Thank you in advance.
The applet class goes into a directory where it can be accessed by the browser; the best choice would be the directory where the HTML file having the applet tag is in. The HTTP class also goes into this directory.
The servlet class goes into the WEB-INF/classes directory.