installing tomcat on windows

They have: 426 posts

Joined: Feb 2005

Tomcat is an apache addon so you can write JSP? that is correct?

If it is how do i install it. Been looking around and it seems rather complicated. There must be an easy way to do this?

They have: 139 posts

Joined: Feb 2007

Hello. I'm not sure if it will be able to work with windows.

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

DO you have Netbeans installed? Netbeans comes bundled with a Tomcat server.

He has: 2 posts

Joined: Jun 2007

Tomcat is available both as a standalone "web container" where you can host J2EE servlets and JSP also as an add-on to Apache httpd server.

I never tried it as an add-on to Apache so far, but the easiest way to do it is to get and install XAMMP which includes Apache, PHP, MySQL, an FTP server and many optimization add-ons.

Tomcat has versions for almost all major operating systems which include Mac OS X, Windows, Linux and Sun Solaris.

The standalone version itself is a Java application which runs on any operating system that has a Java Virtual Machine. It is available as a separate download from Apache.org.

I have once copied the entire Tomcat folder installed on Sun Solaris 8 to Windows. Only by modifying the environment variable of java, pointing it to the JVM folder on Windows, and modifying startup & shutdown scripts (in .bat format), it just worked on Windows - without installation nor recompiling!

Note: In my humble opinion Tomcat standalone can also be used alone for hosting .html pages besides .jsp although I think this is not a very common practice.

Tomcat hosting, as far as I researched is more expensive than PHP hosting. So I do not yet use it for Internet publication, but we heavily rely on it on company Intranet.

-M

www.ozarweb.com

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.