This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Installing Tomcat Apache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Installing Tomcat Apache" Watch "Installing Tomcat Apache" New topic
Author

Installing Tomcat Apache

Jones Iraland
Ranch Hand

Joined: Sep 15, 2007
Posts: 36
Hi,I am kind of new to Java programming,
I have Windows 2000 OS,and I have installed Java 5,
can you please tell me if i can install Tomcat Apache into it also
and run servlets using the same machine, without connecting to a Server?
Thank You.
Karthikeyan Ravindran
Ranch Hand

Joined: Nov 20, 2007
Posts: 32
hi jones,

you can install tomcat in windows 2000 and you can run a servlet...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

Originally posted by Jones Iraland:
and run servlets using the same machine, without connecting to a Server?

Yes, your local machine serves the function of the server. You will able to access it via http://localhost:8080/ once you start Tomcat.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
kaush de
Greenhorn

Joined: Feb 21, 2008
Posts: 6
see i'm new in java things...
you need just need to install Tomcat 6.0 which is very easy just keep clicking next next..dont change anything. & voila it works.

localhost:8080 will open the tomcat which is fully capable of servlet & JSP engine. Now to run servlets using the same machine save you servlets file in C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\examples\servlets directory...

to see the existing examples in tomcat.. try
http://localhost:8080/examples/servlets/

regards
-k


one for all , all for one.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Installing Tomcat Apache
 
Similar Threads
Apache and Tomcat Interview question.
Without JRE
Setting up Apache as HTTP server...
Installing TOMCAT on linux .. HELP
HTTPS ..Apache.Tomcat or both?