I downloaded eclipse and tomcat 7.
i don't know how to set the class path in the mac. I tried to run it and set it in the class variable but it s showin error as "The specified Tomcat installation directory does not exist." .
So how to correct it??
You should not have to set classpath. After you unzip both Eclipse and Tomcat, go into Eclipse and create a new server (File > New > Servers > Apache/Tomcat v7.0 Server) and when the dialog asks for the Tomcat directory, browse to it. Eclipse will then take care of all classpaths for any dynamic web projects you create.
(This is based on my work on Windows/Linux, I don't have a mac.)
Thanks for the help! but I was able to go to servers->apache ->when i clicked on tomcat v7.0 . It says "Cannot create a server using the selected type". So i couldn't browse to it...
I had installed tomcat earlier but those bin files got deleted for some reason. so i am trying to install it again.