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 |
Can we use threads in Servlets?
What's the servlet interface?
How will two or three servlets interact or communicate with each other?
How can we achieve transport layer security for our web application?
Difference between get and post in java servlets?
How can you start a jta transaction from a servlet deployed on jboss?
Explain the difference between servlet and cgi?
can i call init() method in destroy() method of servlset. ?
What is the difference between jsp and servlet life cycle?
Explain url encoding in servlet?
How does java thread pool work?
What is the process to implement doget and dopost methods?