This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hello, How to run Tomcat as standalone server. i.e. if i don't have Any web server like appache. I mean to say, I want to use Tomcat just like how I used to used servletrunner (supplied by Sun). What are the configuration I have to make for making tomcat run like this. Can I make Tomcat to recognise servlet myServlet in X directory, by refering servelet as "localhost/servlet/myServlet" in my HTML? I have unziped the files d:\Tomcat directory. And i am running Startup.bat file available in bin directory. I am having Windows-NT workstation. Any help please... Regards, Raghavendra Holla.
Raghavendra, We can use Tomcat3.1 as full fledged web server. It can serve static html pages, dynamic jsp pages and servlets. We can install it in our local machine (Win95/98/NT) and use it for development and testing purposes very well. For installation instructions please visit the following link. http://www.webappcabaret.com/javachina/tomcathowto.htm regds maha anna
To run tomcat as a standalone server, you just need to run the startup.bat file that you have been. However, to refer to applets you need to type http://localhost:8080/servlet/ServletName and make sure the servlet is located in the tomcat/webapps/root/web-inf/classes directory. the :8080 is important, do not leave it out. This makes it completely standalone with no need for apache. ------------------ I hope its helps, feel free to email me firstname.lastname@example.org