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!!
I recently messed up my Gnome Panels by accidentally deleting the shutdown and Time applets .
So I found a way to Restore them to the default state.
Now the best way to do this is to do it via terminal
Then Type the Following
(Note:Don’t leave any space between the 2 dashes)
gconftool – -recursive-unset /apps/panel
Now all the panels Should disappear.
Then type the following to restore them to their default state
rm -rf ~/.gconf/apps/panel
Finally Execute the following to show all the panels .
I tested this on Maverick Meerkat (10.10) and it works fine , but it should work on all versions from Gutsy Gibbon (7.10) onwards .