Serving Servlets !Posted: May 26, 2011
When staring web developement now a days many people start with PHP , Ruby on Rails , or something like that , but there was a Time when Servlets were King .
Servlets are still very Prominent and are also very powerful, and sometimes better than any other web development platform.
To get started with servlets using just Tomcat is very easy , but using Eclipse along with it Required a small bit of effort .
I spent 20 minutes on learning how to configure Eclipse to work with Tomcat 7
So here is a Tutorial for the same .
2 Things have to be downloaded
I am writing this tutorial for Linux but the concept is the same for Windows and Mac .
Extract Eclipse and tomcat into a folder
Choose Apache Tomcat v7.0
Choose the location where Tomcat was extracted
Create a new Dynamic Web Project
Now you can create your Servlet and run it in eclipse with Tomcat , so what are you waiting for get coding!!