Hello Michael, could it help you this way:
put your .jars somewhere under webroot and just override the the CODE and ARCHIVE attributes of the <applet ...> tag of your html with corresponding values: <APPLET CODEBASE="." CODE="your_class_name" ARCHIVE="your_jar_file.jar" ...> regards, Max -- Original message -- From: "Michael Reutter" <[EMAIL PROTECTED]> Date: Thursday, November 22, 2001, 7:56:16 PM Subject: download binary file MR> Hi! MR> my static page now loads an applet. MR> what I want is, that the applet's-jar file isn't physical a jar file, but a servlet's output. MR> I have several jar-files in a directory not in the web-path and the servlet should randomly give back one of these applets! MR> my questions: MR> what method to overwrite in HttpServlet MR> is Content-type: text/plan ok for a jar-file MR> and how to read the file and write it to the response object MR> thanks MR> michi ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
