File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat

 
Raghavendra Holla
Ranch Hand
Posts: 58
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
maha anna
Ranch Hand
Posts: 1467
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Noah Carroll
Ranch Hand
Posts: 96
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 noahcarroll@juno.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic