Apache Tomcat 8 Features


If you are a Java web developer, it is most likely that you are aware of the popularity of Tomcat web server. Tomcat is the Reference Implementation (RI) for the JSP and Servlets specification from the beginning. Not only that, many of the application servers internally using the Tomcat as their web server since it […]

How To Change Tomcat Default Port Configuration?


Tomcat uses by default on port number 8080 on your computer. It is very common that you would have conflict of port number if there is another service running on the same port. You can change the port number for your tomcat server by changing in the configuration file or through the eclipse editor. 1. […]

Tomcat Interview Questions

Tomcat Interview Questions – 1 How do you create multiple virtual hosts? If you want tomcat to accept requests for different hosts e.g., www.myhostname.com then you must 0. create ${catalina.home}/www/appBase , ${catalina.home}/www/deploy, and ${catalina.home}/conf/Catalina/www.myhostname.com add a host entry in the server.xml file Create the the following file under conf/Catalina/www.myhostname.com/ROOT.xml Add any parameters specific to this […]