How to use tomcat server as an http server?



How to use tomcat server as an http server?..

Answer / Ashish Kumar Vimal

To use Tomcat as an HTTP server, start it and deploy your web application. Configure the port, hostname, and context path in the server.xml and/or web.xml files. Make sure that the HTTP connector is enabled.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Tomcat Interview Questions

I have a "webb app" in Tomcat that serves only HTML, and I'd like to make the path component of the URL case- insensitive. So if the client navigates to http://<domain.host>/Pics or http://<domain.host>/pics or http://<domain.host>/PIcs they'll get the same resource.

1 Answers  


How web server handles multiple requests for same action class(Struts) concurrently?

2 Answers   HCL,


What will happen if we have added “loglevel debug” in httpd. Conf file?

1 Answers  


Does tomcat load the same library file into memory twice if they are in two web apps?

1 Answers  


Why is it called tomcat?

1 Answers  


How many database servers does facebook have?

1 Answers  


Why do we use wildfly?

1 Answers  


what does the mac stands for?

1 Answers  


How do I know what version of java tomcat is using?

1 Answers  


How can we put a restriction to upload files on our web server?

1 Answers  


what is recommended way for spawning threads from a servlet in tomcat?

1 Answers  


Tom is having XML document and that needs to be read on a daily basis. Which method of XML object is used to read this XML file?

1 Answers  


Categories