How to make a contact form
I am making a website in which I need to add a contact us page. This page looks similar to other contact us form which you see on net. It has a subject, query and senders email id field. On clicking send button it should send that query to the owner of the site.The pages are built using html. And I prefer using servlet for this processing. A confirmation in form of dynamically generated page in servlet should show user name confirming th receipt of query.
Now I know how to extract the values from the field but and I can generate the dynamic confirmation page but I want to know how can I send the query to owners inbox(just like normal email).
Any kind of help is welcome. Also if some one can give me link to some useful learning matter for this that will be great.