SET AS HOME PAGE

ADD TO FAVORITES / BOOKMARK THIS WEBSITE (More Details)

Introduction

Servlet

Jsp

Security

Enterprise Beans

Contact Us


Introduction to Java Servlet (Example Program) (Continue...)

 Introduction

Java Servlet is the one of the most important Java technologies. It is the simplest model to build a complete Java J2EE Web Application. Furthermore, even for complex J2EE Web Application that uses Struts, Spring, EJB and etc, they are still using Servlet for certain purposes such as Servlet Filter, Listener and etc. Thus, it is just a good idea for you to have well-built understanding of Java Servlet. Prior reading this tutorial, it would be excellent if you have mastered the basic Java programming languages.

Servelet Example is give below with complete steps with screen-shots

CLICK HERE to download this complete example (zip file)


 Package the Servlet into a J2EE Application (Continue...)

  1. Now open an Internet Explorer

    (Type the address http://localhost:8080/emp_details/Employee.html)


  2. (Now enter “1” in the textbox and click the Submit button)

  3. Program completed Successfully
  4. To stop the server goto Start -> All Programs -> Sun Microsystems -> Application Server PE -> Stop Default Server. CLICK HERE to see how to Stop the Server


 Click for Next Topic
<- PREVIOUSNEXT ->