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.

link|improve this question

feedback

1 Answer

up vote 2 down vote accepted

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>

link|improve this answer
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
feedback

Your Answer

 
or
required, but never shown

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