Serving Servlets !

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 .

So Lets get Started…..

The Downloads

2 Things have to be downloaded

  1.  Eclipse IDE for Java EE Developers
  2. Apache Tomcat 7

The Process

I am writing this tutorial for Linux but the concept is the same for Windows and Mac .

After Downloading

Extract Eclipse and tomcat into a folder

After Extracting Eclipse ,

Run Eclipse

open Window->Preferences 

Choose Server->Runtime Environments

Click Add 

Choose Apache Tomcat v7.0

Click Next

Choose the location where Tomcat was extracted 

Click Finish

Now the Server has been successfully added .

The Project

Create a new Dynamic Web Project

After Creating the project

Right click on the project  select New->Servlet

Now you can create your Servlet and run it in eclipse with Tomcat ,  so what are you waiting for  get coding!!

Your Presentation Sucks !!

I was one of those people who barely did any research for my classes when I had to take a seminar , but when an opportunity to do a real proper presentation came my way ,  I needed a guide on what makes a Presentation great , and what not to do !

So after about 15minutes of searching I found this  .

So now equipped with this Knowledge I set out to make the most Awesome presentation I have ever made , and I am quite satisfied with the results, Everything now rests on my Speech ,which I am quite Confident about !

I recently messed up my Gnome Panels by…

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

Open 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 .

pkill gnome-panel

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 .

11 things to avoid in 2011

I really haven’t made any new year resolutions this year , I didn’t bother to put in the effort to end up breaking it .

But here are somethings everyone should remember, not just this year but every year .

Here is my favorite one ….

Putting off your dreams

Look at your big dreams and identify what makes them so appealing. Is it the free time, the nice things, the great relationships, or being in the best shape of your life? Identify something you can do this year that will allow you to enjoy some of that dream without all the extras. Save up some cash and splurge on that amazing purchase or take some unpaid time off. Treasure the time you have and don’t wait until you’re loaded to start savoring the world around you.

I am going to chase redemption this year and this is really good advice . So lets GO !


How to Make Chromium Portable , Partially !

I have been using Chromium web browser for some time now , and I must say it is really good , and most of the time its pretty stable , but one thing I really hate is that it saves my user profile at


Now to solve this I tried many techniques , and I found out that the most simplest and easiest solution was the best , so here it is .

Read the rest of this entry »