Hello world example using Servlet 2.5 web container

Step 1

            Create new dynamic web project with 2.5 as web module

File --> New --> Dynamic web project 


Click finish.

Step 2

                Adding tomcat server in Eclipse IDE

Select server tab and Click on add new server link a new pop will open







Step 3

                Creating a sample HTML file

Right click on Web Content --> new --> HTML


 Click finish.

Step 4

                Running HTML file on tomcat server

Right click on html file and select run --> run on server


Click finish 





Hello world example war

Hello world example zip

Related Post