Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is http servlet in java?

1069


Which interface should be implemented by all servlets?

1217


How do you get the ip address of the client in servlet?

1012


How can you run a servlet program?

1085


Can we use the constructor, instead of init(), to initialize servlet?

1099


What is meant by a servlet?

1104


What is the difference between get and post methods?

1047


If a servlet is not properly initialized, what exception may be thrown?

1184


What are the difference between RMI and Servlets?

1565


Describe in brief RequestDespatcher?

1139


What is the purpose of requestdispatcher interface?

1067


How can we implement a jsp page?

1138


Explain the servlet context.

1146


Which protocol will be used by browser and servlet to communicate

1059


What is the servlet?

1091