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
Explain the difference between servletconfig and servletcontext in servlet?
What is the advantage of Servlets when compared with other server side technologies?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
Explain web container.
How can you run a servlet program?
Define context initialization parameters.
What is servlet and its types?
I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>
What methodology can be followed to store more number of objects in a remote server?
How is an application exception handling is done using a servlet?
What is the type of method for sending request from http server?
What is servlet in simple terms?
Why do we need servlet filter?
What are the advantages of cookies?
What is cookies in servlet with example?