I want to practice web programming on my Ubuntu virtual machine. I want to learn both server side web development using Java/J2EE and client side coding (HTML/CSS/JavaScript) .
I heard that we need Apache HTTP for serving static pages and Apache Tomcat for running Java servlets pages.
I want to install both of them on the same machine. Can they both co-exist on the same server? If yes, do I need to take any precaution?