Jason,
there's actually no error message. If you submit the data the servlet catches an I/O 
exception and prints out blabla. Seems to be a PrintStream problem (commented out 
there's no I/O Exception). Before the version upgrade it used to work just fine (and 
the source code hasn't changed). Since I'm not into unix webserver administration - 
could there be a problem (path, jsdk, apache modules)?!? So if it compiles without any 
error messages (the code is from your O'Reilly Java Programming book) there must be 
some kind of prob.
It might work for you but it doesn't work for me. The only thing that makes me feel 
better is, when that pain in the a** servlet goes back to work and does what it is 
supposed to do!

Marc


        -----Urspr�ngliche Nachricht-----
        Von:    Jason Hunter [mailto:[EMAIL PROTECTED]]
        Gesendet am:    Montag, 7. Februar 2000 19:47
        An:     [EMAIL PROTECTED]
        Betreff:        Re: Mailservlet just stopped working?

        Czichos, Marc wrote:
        >
        > Hi,
        > we use a Java servlet to collect information from a webpage and
        > send the content via email to an emailaccount. The mailing part is
        > based on the sun.net.smtp.SmtpClient class. After a Java version
        > upgrade (1.2) on our webserver the mailing doesn't work anymore.

        An error message would be really helpful in diagnosing the problem.

        I doubt sun.net.smtp.SmtpClient changed for JDK 1.2 (it works for me),
        but I wrote com.oreilly.servlet.MailMessage for people who feel better
        using a class for which they have the source.  It's at Servlets.com.

        -jh-

        --
        Jason Hunter
        [EMAIL PROTECTED]
        Book:    http://www.servlets.com/book
        2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html
        2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servletapi.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

___________________________________________________________________________
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

Reply via email to