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 servlet in tomcat?
What are the annotations used in servlet 3?
What is the difference between servlet config and servlet context.
19 Answers TCS, Tech Mahindra, Vertex,
What is the inter-servlet communication?
What are the important functions of filters?
How does java thread pool work?
Explain how does JSP handle run-time exceptions?
What is the difference between sendredirect() and forward() in a servlet?
What are setComment and getComment methods in Cookies?
What is the difference between servlet and filter?
What is difference between get and post method?
What is the advantage of Servlets when compared with other server side technologies?