Best Blogger Tips

Wednesday 3 October 2012

Running the first servlet program!

0 comments

This brief tutorial will help you in running your first Java Servlet. As java Servlets are server side programs that are compiled by a java compiler and the their class files are executed by a web browser.
So it would be your first question how can we execute that class file(Servlet's Bytecode) on a web browser by submitting a URL of that servlet name?Definitely it's very easy and straight forward.

To run a Servlet you must have a web container installed and configured in your computer. In case of java Servlets you must have a Tomcat installed in your computer.It is a java based web server founded by the Apache Organization.

Apart from this, you should also have the standard JDK installed on your local machine.
So first of all i will teach you how to install standard JDK and it's configuration on local machine.
 

| Bloggers Broadcast © 2010. All Rights Reserved | Back To Top |

Your Text Link Here