Is it possible to send a mail from a servlet? Explain?
Answer Posted / 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 View All Answers
What is preinitialization of a servlet?
What is the difference between portlet and servlet?
Explain the difference between servlet and cgi?
What is the disadvantage of cookies?
Differentiate between the get and post method
What is the workflow of a servlet?
How can we invoke another servlet in a different application?
What is the difference between CGI and Servlet?
Are Servlets Thread Safe? How to achieve thread safety in servlets?
how the HTML data stored in web server?
What do you mean by singlethreadmodel interface?
Is servlet synchronized?
How can we implement a jsp page?
Which httpsession object is used to view and manipulate information about a session?
What is a cookie What is the difference between session and cookie