Hi Nithya,
first you must understand the dif btw apache and apache tompat.. very well.. lets get down to biz.. ok.. in brief..
apache is used most to handle .cgi / .php pages..
apache tomcat is used to handle .jsp (java servlets)
in-order to be able to handle servlets you need to have JRE (java runtime engine) installed.. which can be download from
http://www.sun.com..
apache / tomcat is alwasy better in-terms of dollar & cents as it's free.. :) .. once again.. you need to consider the usage of a webserver.. there is no such thing as better or not.. meaning.. if you have to host .asp / .aspx sites then you probably need to have IIS (Internet Information Server) running.. on the other hand if you need to host .cgi / .php / .jsp sites then you need apache / tomcat running respectively..
hope u have a clearer picture now.. i believe i didn't confuse you either.. :) take care and good luck my fren.. :)