Email « JSTL « JSP-Servlet Q&A





1. Problem accesing email property with help of Expression Language/JSTL    stackoverflow.com

In my Servlet:

person.setEmail(eMail);
request.getSession().setAttribute("person", person);

RequestDispatcher rd = request.getRequestDispatcher("/JSPAddress");
rd.forward(request, response);
My Bean Class:
private String eMail;

public Person(String eMail) {
    setEmail(eMail);
}

public String getEmail() {
    return eMail;
}
public void setEmail(String Email) {
 ...

2. Email send problem    java-forums.org

3. [SOLVED] Email send problem    java-forums.org

Java Code: package org.eclipse.http.SamSite; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import javax.mail.*; import javax.mail.Authenticator; import javax.mail.PasswordAuthentication; import javax.mail.internet.*; // important import javax.mail.event.*; // important import java.net.*; import java.util.*; /** * Servlet implementation class for Servlet: SendEmail * */ public class SendEmail extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet { static final long serialVersionUID = 1L; private ...

4. Check email by background thread    java-forums.org

You could make it a servlet, but lets back up a notch. Most things that alert on email run on the client. Could be a laptop, desktop, blackberry, iPhone, etc. Its the client that can easily display things to the user, ring bells, make sounds, etc. Its not clear what the "web application" would do. Email is kept on a server, ...

5. new to JSP tech (associates to email)    java-forums.org

6. how to send an email    java-forums.org

7. Need help sending an email    java-forums.org

8. sending email    java-forums.org

9. Sending email in jsp with authentication    java-forums.org