>hi, >i think he didn't want to know how to print out the html code for the page >that contains an applet. he wanted to know how a servlet could output the >jar file containing the applet's classes.
that's exactly what I want >you would need the content type to "application/java-archive". how to read >in a binary file & hot to put it from a servlet should be clear to you after >checking the archives for this topic, and/or reading the streaming & >newtworking section in the java tutorial. I will do ... :-) >actually, i can't think of any advantage this procedure might have: why >don't you want your webserver to serve the requested jar file??? well; do you have any idea, how I can prevent people from downloading a java applet's jar-file, by knowing its URL??? So I will generate a servlet, wich handles a login-process. After that the jar-file is being read from the server's file-system (not accessible from the web) amnd the servlet only does a "passthrough"! *any* hints appreciated!!! thank you very much michael ___________________________________________________________________________ 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
