aspose file tools
The moose likes Applets and the fly likes Where in deployment environment to put a class of an applet, a servlet and HTTP(applet-servlet comm) Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Applets
Reply Bookmark "Where in deployment environment to put a class of an applet, a servlet and HTTP(applet-servlet comm)" Watch "Where in deployment environment to put a class of an applet, a servlet and HTTP(applet-servlet comm)" New topic
Author

Where in deployment environment to put a class of an applet, a servlet and HTTP(applet-servlet comm)

Pira Tomatsu
Greenhorn

Joined: Sep 01, 2009
Posts: 14
I have read Java Servlet 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.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35440
    
    9
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.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where in deployment environment to put a class of an applet, a servlet and HTTP(applet-servlet comm)
 
Similar Threads
submit html for via applet
JApplet converted to Web Start application
servlet mapping
Applet in web application (WAR)
where should I put the serializable object class