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 do you mean by request dispatcher in servlet? Also explain its methods.
What are some advantages of storing session state in cookies?
What is DSN and System DSN and what is the difference between them?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
give the syntax of doGet() and doPost()?
Explain jsessionid?
What is a Session Id?
What is called a session?
Write a hello world program using servlets.
What is the purpose of dispatcherservlet properties?
What is the <load-on-startup> element?
What is Server-Side Includes?