How to make transfer of JAR file through servlet?

2003-01-23 Thread Lyubomir Pashov
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

Re: How to make transfer of JAR file through servlet?

2003-01-23 Thread Eric Noriega
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 appli

Re: DESIGN QUESTION

2003-01-23 Thread M. E. Zawadzki
NFS, Samba, etc. --- rusty bawa <[EMAIL PROTECTED]> wrote: > Thank you for your reply. > I have thought about it, but how can i call a library > residing on another server? I can replicate [by > pushing] libraries to each server when files get > updated, but that looks like a lot of maintenance > w

File Upload - Attachment Files

2003-01-23 Thread Rafael Chiarinelli
Hi my friends!!! I'm developing a Webmail using servlet's and I can't get do a annex in a message. How can I do a upload in the Webmail? Mean you give me a example??? Thanks!! Rafael ChiarinelliBusca Yahoo! O melhor lugar para encontrar tudo o que você procura na Internet

Tomcat/MySQl/ConnectorJ and JNDI

2003-01-23 Thread Tom Kochanowicz
I have a Tomcat/MySQl/ConnectorJ and JNDI combination that works only on the first submit. Subsequent submits I get the error “PROBLEM WITH LOGOUT NULL POINTERnull”   Whats the problem   I’ve tried closing my dbConnection.close();  I’ve tried closing my prepard statements:  e.g.

Re: DESIGN QUESTION

2003-01-23 Thread David Mossakowski
Does the authentication have to happen on a physically separate web server? If you're the maintainer of both of the initial applications then writing an authentication library for use in both applications is certainly less work than maintaining third application for authentication and the communic

Re: File Upload - Attachment Files

2003-01-23 Thread Uthiresh Narayanan
Hi Rafael,    I have something similar. You could stream the output of the jsp/servlet to the MimeBodyPart constructor, and then attach it to the mail.        String l_servletUrl = ;    URL l_serv = new URL(l_servletUrl);   URLConenction l_conn = l_serv.openConnection();   l_c