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 |
waht is the main diference b/w servelts and JSP ?
What are different types of Servlets?
How to get the actual path of servlet in server?
How do you create a cookie using servlet?
How do you design microservices?
How does Cookies work in Servlets?
What are different ways for servlet authentication?
What happens, when client requests for server object, which is not yet loaded into the memory?
How can we upload the file to the server using servlet?
What are common tasks performed by Servlet Container?
Why are http servlets used in programming?
What is pure servlet?