what were u trying to put into the hashtable?
and is it really SendMAil.java with capital "MA"?


Ricky Y. Artigas
Analyst/Programmer
Software Development -
Information Technology Division
Easycall Communications Phils., Inc.
418 Arayat Street
Mandaluyong City 1550
Philippines
Tel.no: (+632) 5338001 ext.6574
Pager:  141-002955
Email: [EMAIL PROTECTED]


> -------------------------------
> IMPORTANT NOTICE:

> This message (and any attachment hereto) may contain privileged and/or
> confidential information specific to EasyCall. If you are not the intended
> addressee indicated in this message, you may not copy or disseminate this
> message (or any attachment hereto) to anyone. Instead, please destroy this
> message (and any attachment hereto), and kindly notify the sender by reply
> email. Any information in this message (and any attachment thereto) that
> do not relate to the official business of EasyCall shall be understood as
> neither given nor endorsed by the company.
>
>
> -----Original Message-----
> From: kal inuganti [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, November 11, 2000 7:59 AM
> To:   [EMAIL PROTECTED]
> Subject:      Java Mail Servle-Error Message
>
> Hi
>
> I am trying an example of a mail servlet from the book - Professional Java
> Server Programming.  When I hit the "send" button it gives me an error. I
> guess that there is something wrong with the SMTP (simple mail transport
> protocol) Can someone look at the error message and tell me what is wrong.
> You can try the example yourself (at
> http://24.181.167.18:8080/SendMail.html) and look at the error message
> or here is the error message:
>
> Error: 500
> Location: /examples/servlet/SendMail
> Internal Servlet Error:
>
> java.lang.NullPointerException
>         at java.util.Hashtable.put(Hashtable.java:380)
>         at SendMail.doPost(SendMAil.java:41)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>         at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:50
> 3)
>         at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:59
> 7)
>         at
> org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>         at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:50
> 3)
>         at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
>         at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Htt
> pConnectionHandler.java:160)
>         at
> org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:3
> 38)
>         at java.lang.Thread.run(Thread.java:484)
>
> Thanks,
> Kalyan
>
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
> __________________________________________________________________________
> _
> 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