• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

web server/servlet API installation question from a beginner

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Saloon Keeper
Posts: 27752
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic