redirection with categories

When the individual category is clicked the link in the url is change to

index.jsp?cat=category_name
therefore we can use that to check which category to display later on.