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 difference between ExecuteUpdate and ExecuteQuery?
how a servlet is instantiated, whether the container calls init() or by calling any other method? please somebody reply..
Are Servlets by default thread safe or not? thanks in advance regards Sudhakar
Explain the jar and war files in servlet?
When a servlet accepts a call from a client, it receives two objects. What are they?
what is meant by servlet to servlet communication?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify
Difference between java beans & servlets?
What is the difference between JspWriter and PrintWriter
Which java application server is the best?
Hi friends am newbie to servlet. How code reusability easy in servlet. why not in jsp . here reusabillity means only javabeans or any thing else.