I'd like to know if it is possible to configure (and if yes: how) Tomcat acting like http web server without using Apache isapi.


Tomcat is a servlet container which also serves web applications on http/https protocol. So in it's default avatar, any web app deployed on Tomcat runs on the defined port (default 8080 ) and thus Tomcat is acting as a web server.

You dont need Apache to front it for static content. Just drop your webapp into TOMCAT_HOME/webapps and start the Tomcat server.

Access it on http://localhost:8080/<webapp>

  • Just another question: I heard about a security risk in doing this. Is it true? – IssamTP Nov 19 '10 at 14:56
  • Not really, the latest Tomcats are quite stable and secure. Read this tomcatexpert.com/blog/2010/03/24/… article too – JoseK Nov 20 '10 at 5:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.