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 workflow of a servlet?
What is cgi?
What is servlet looping or chaining?
What is the requirement of servlet config and servlet context implemented and how are they implemented?
What is a web application and what is it’s directory structure?
Is classes folder is compulsory in web-inf/ even though u r deploying ur application with war file?
What is Difference between JavaBeans and taglib directives?
What is Servlet Context?
Define servlet mapping?
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?
What is the difference between get and post methods?
when the several requests comes to server..how it manage the requests