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 do you mean by url pattern in servlet?
Explain jsessionid?
Whether we can get deadlock situation in servlets?
What is servlet and its advantages?
Explain web application directory arrangement?
Given the request path below, which are context path, servlet path and path info?
Which interface should be implemented by all servlets?
Can you create a deadlock condition on a servlet?
Where do you define dispatcherservlet?
How is the get () method different from the post() method?
What is servlet in simple terms?
What is meant by Servlet? What are the parameters of service method?
What is the difference in between the httpservlet and generic servlet?
What is the directory structure of a war file?
Why is servlet used?