Why can the file be transferred as an application/octet-stream, just placing the jar under some web directory? Or are you looking for some fully automated way of transferring the jar? Have you looked into Sun's Web Start?
Lyubomir Pashov wrote:
Hello, I need to extend one of my client applications to be able to perform auto update. But I wonder how to make the servlet's method (and the client's method) which will make the transfer of the new application's JAR file to the client... Could anybody show me a snipped of code, which will do the actual transfer (of the Jar fail)? (from both - the Servlet's side and the client application's side) Thanks in advanse! Best regards, Lyubo. ___________________________________________________________________________ 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
___________________________________________________________________________ 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