Is it possible to send a mail from a servlet? Explain?
Answers were Sorted based on User's Feedback
Answer / saikiran
yes possible by API.
Explanation:
If that are in different two Independent Systems
That is One of the Rule that reference of Object in one
system is not given to the another system JVM is not
allowes.
For that RMI standard come into existance We make Free
from Vendor Locking
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / bhushan
yes its possible to send mail from servlets.
using dopost()method we can compose mail by hard coding HTML inside the out.println()-- this is Hidden form field mechanism. & urlRewriting.
And using sendRedirect() we reach to destination servlet.where ew again use req.getParameter().
Is This Answer Correct ? | 0 Yes | 0 No |
What is the first statement in jsp page.
How ThreadSafe page attribute will be working in Servlet as well as in JSP?Automatically ThresdSafe is true in JSP so service method will be destroy in each and every request or not?so how thresd will handle srevice method?
How can we create deadlock situation in servlet?
What is the GenericServlet class?
What's the advantages using servlets than using cgi?
What are its drawbacks of cgi?
What are the types of an http request?
How do you track a user session in servlets?
How will you pass values from HTML page to the servlet?
What are the advantages of servlets over traditional cgi?
Why servlet is faster than jsp?
What is servlet name in web xml?