Your html is missing the form tag:
<H1>SendMail</H1>
<FORM ACTION="http://localhost:8100/servlet/SendMail" METHOD=POST>
Then it works fine.
Neil
At 16:52 10/11/2000 GMT, kal inuganti wrote:
>Hi
>
>I was working on a few examples from the book Java Server Programming by a
>bunch of authors.
>
>I was working on the mail servlet example, I downloaded the java mail
>package and set the classpath and compiled the example and everything but
>when I click on the submit button on the form, nothing is happenning.
>
>I put the class file and the HTML file in the same directory (under
>TOMCAT_ROOT/webapps/ROOT). Can someone suggest what is going wrong.
>
>You can access my HTML page and the java file at
>http://24.181.167.18:8080/SendMail.html and
>http://24.181.167.18:8080/SendMail.java
>
>Thank you in advance,
>
>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