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 |
Explain the difference between a web server and a web container?
How do I support both get and post from the same servlet?
How is a servlet implemented in code?
Why filter is used in servlet?
Some examples where generic servlet is used?
Write all the phases defined in servlet life cycle?
What are the type of protocols used in httpservlet?
What do you mean by a filter and how does it work?
which method in doGet or doPost is use to send binary date to server
What are the key methods that are involved in processing of http servlets?
How variables can be accessed across the sessions?
Can we fetch the attributes related to a servlet on a different servlet?