Description: 1, create a web project maildemo, run the example programs MailClient.java. 2, added to the project MailClientAuth.java and MailAuthenticator.java, run it, to understand the user password verification process. 3, added to the project Sendaddmail.html and sendaddmail.jsp, run it, the realization and understanding of webmail attachments add process. 4, the ability of students, please e-mail sent to the business logic is handled by the Servlet or sendaddmail.jsp javabean to achieve.
To Search:
File list (Check if you may need any files):
电子邮件上机\mailDemo\activation.jar
............\........\build\web\META-INF\context.xml
............\........\.....\...\........\MANIFEST.MF
............\........\.....\...\Sendaddmail.html
............\........\.....\...\sendaddmail.jsp
............\........\.....\...\WEB-INF\classes\MailAuthenticator$1.class
............\........\.....\...\.......\.......\MailAuthenticator.class
............\........\.....\...\.......\.......\MailClient.class
............\........\.....\...\.......\.......\MailClientAuth.class
............\........\.....\...\.......\lib\activation.jar
............\........\.....\...\.......\...\mail.jar
............\........\build.xml
............\........\mail.jar
............\........\nbproject\ant-deploy.xml
............\........\.........\build-impl.xml
............\........\.........\genfiles.properties
............\........\.........\private\private.properties
............\........\.........\.......\private.xml
............\........\.........\project.properties
............\........\.........\project.xml
............\........\src\conf\MANIFEST.MF
............\........\...\java\MailAuthenticator.java
............\........\...\....\MailClient.java
............\........\...\....\MailClientAuth.java
............\........\web\META-INF\context.xml
............\........\...\Sendaddmail.html
............\........\...\sendaddmail.jsp
............\........\build\web\WEB-INF\classes
............\........\.....\...\.......\lib
............\........\.....\generated-sources\ap-source-output
............\........\.....\web\META-INF
............\........\.....\...\WEB-INF
............\........\.....\empty
............\........\.....\generated-sources
............\........\.....\web
............\........\nbproject\private
............\........\src\conf
............\........\...\java
............\........\web\META-INF
............\........\...\WEB-INF
............\........\build
............\........\nbproject
............\........\src
............\........\web
............\mailDemo
电子邮件上机