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

web server/servlet API installation question from a beginner

 
Tom Xavier
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am a servlet/jsp beginner. I have following two questions. If they can be answered I will appreciate it.
1. I have a PC with windows ME, I want to run servlet/jsp on it. I heard I need two things: Tomcat 4.0 API and a web server. I have downloaded the following files from Tomcat:
jakarta-tomcat-4.0.zip and jakarta-tomcat-4.0.exe. Are they just servlet API or do they include the web server part ?
If they do not include any web server, then I have to install a web server. I heard that "IPlanet" and "Apache's Tomcat server"
are good. But it seems they can only be installed on NT/2000, can they be installed on my windows ME ? Overall, what's the best way to download/install for free on the windows ME to make servlet/jsp work ?? I need your help please.
2. I have a Unix platform and it has apache web server plus Jrun. So far basic servlet and jsp codes can work well using it. Now, do you think tag library can work on this environemnt directly or do I need to install/add anything else to make it work ?
Thanks,
Tom

 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Provided that you have the JDK installed on your machine, Tomcat 4.0 includes everything that you need to get started with Servlets and JSPs.
Easiest way (IMHO) is to unzip the jakarta-tomcat-4.0.zip file onto your c:\ drive. Open up a command prompt and set JAVA_HOME to point to your JDK installation, e.g.
set JAVA_HOME=c:\jdk1.3
cd c:\jakarta-tomcat-4.0
bin\startup
Open up your browser and type in http://localhost:8080 - if everything went well you should see the Tomcat "home page".
Hope that helps ... have fun!
Regards
Simon
------------------
Simon Brown
Co-author of Professional JSP 2nd Edition
 
Tom Xavier
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for quick response Simon !
I do have JDK1.3 installed. When you said "Tomcat 4.0 should include everything for running servlet/jsp", do you mean that
"jakarta-tomcat-4.0.zip" includes both servelt API and a web server ? I just want to find out whether I need to install a web server separately.
Thanks lot,
Tom
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17621
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe that Tomcat can be configured to serve html and other non-Java content, but it's probably more common to use it in conjunction with a web server like Apache - less system overhead for high-volume sites.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic