Re: Cannot send mail from servlet

2007-07-17 Thread Fabio Rossi
Transport.send(message); David Smith <[EMAIL PROTECTED]> ha scritto: Seems to me the important part of this is the sendMail method. Could you post that? --David Fabio Rossi wrote: > Hi. I'll try to explain my problem, that is about sending an email with > JavaMail API from a s

Cannot send mail from servlet

2007-07-17 Thread Fabio Rossi
Hi. I'll try to explain my problem, that is about sending an email with JavaMail API from a servlet. Anyway, it seems to be a more general problem i'm having with servlet. I'm using Tomcat 5.0. I've a servlet that process a request, writes to a database some info and then send a email with a sum

Re: Unable to disable output buffering

2007-07-02 Thread Fabio Rossi
not do anything for you? Filip Fabio Rossi wrote: > Hi, thank you for the answer, but my problem in different. > When I send the data, I specify the content lenght and the client knows if > the "download" is completed or not. > > The problem is that, with output buffer

Re: Unable to disable output buffering

2007-07-02 Thread Fabio Rossi
of internet between server and client, if something crashes, client should still be able to say, hey user you need to refresh I think its the only way. Why wont the above work?... maybe you should post your code... ----- Original Message - From: "Fabio Rossi" To: Sent: Monday

Unable to disable output buffering

2007-07-02 Thread Fabio Rossi
Hello. I need to disable output stream buffering. I tried with response.setBufferSize but i noticed that Tomcat does not permit to set a level lower than the standard 8k. Then I read that the solution is to specify the connector property socketBuffer="-1" in server.xml but again, it does not wo