Online Software Educational Training - IT Tutorials - Online Education Training for Computer Software


Home

JAVA SERVLET

Creating a Simple Servlet

To create a simple servlet you have to import these files:

1.    java.io.*;                    For I/O Operations.

2.    javax.servlet.*;          Contains the classes and interfaces required to build servlet.

A servlet that displays a string "Hello World!! You Are Welcome".






Previous

Next