I am designing web application using servlets and jsp with mysql database.
how to write jsp and servlets including sql queries of select, update and delete.
any one please help me how to solve this problem. thanks in advance
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
I am designing web application using servlets and jsp with mysql database.
how to write jsp and servlets including sql queries of select, update and delete.
any one please help me how to solve this problem. thanks in advance
Did you try google? Its your best bet to answer some answers. There are many tutorials on jsp, servlets, sql, etc...should you get stuck then ask a specific question which we might be better suited to answer with a quick and precise response
you should learn tutorial from the site Roseindia.net this may help you to generate a web apllication
thanks for your response.
how to servlet and jsp to contact us page same as 'java programming forums' contact us page. Contact us page means like feed back form. So please give me some suggestion to write code for servlet and jsp for feeback form must be submit to bv123@gamil.com
thanks in advance.
make a JSP page first.
In that JSP page put a form tag. In the form tag you have an attribute called "action". in that attribute but the location of you servlet. If you using Google App engine then you can use the web.xml to map the servlet with a name. Or if you not using App engine then simply put the location of your servlet .java file ex.
<form action="/jet/contact-us.java">
</form>
and then in the servlet get all the values from the fields in the form and then use sendresponse() function.