Is it possible to send a mail from a servlet? Explain?

Answers were Sorted based on User's Feedback



Is it possible to send a mail from a servlet? Explain?..

Answer / niranjanravi

yes we can a mail through mailAPI

Is This Answer Correct ?    3 Yes 0 No

Is it possible to send a mail from a servlet? Explain?..

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

Is it possible to send a mail from a servlet? Explain?..

Answer / shumaan

yes we can thorough API

Is This Answer Correct ?    0 Yes 0 No

Is it possible to send a mail from a servlet? Explain?..

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

Post New Answer

More Servlets Interview Questions

What is the difference between ExecuteUpdate and ExecuteQuery?

4 Answers  


how a servlet is instantiated, whether the container calls init() or by calling any other method? please somebody reply..

6 Answers   Siemens,


Are Servlets by default thread safe or not? thanks in advance regards Sudhakar

3 Answers  


Explain the jar and war files in servlet?

0 Answers  


When a servlet accepts a call from a client, it receives two objects. What are they?

0 Answers  






what is meant by servlet to servlet communication?

1 Answers   KPIT,


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

0 Answers  


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

0 Answers  


Difference between java beans & servlets?

0 Answers  


What is the difference between JspWriter and PrintWriter

4 Answers   Artech,


Which java application server is the best?

0 Answers  


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.

1 Answers  


Categories