• 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

Apache web server

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, guys;
I am just starting to learn how to use servlets. I tried to install Apache web server on my computer (wind98) but I could not get it working for me. After installation, I tried to start the server and in dos console it showed the message:
Apache running...... When I tried to access http://localhost:8080 via internet explorer, i got the error message:
cannot access localhost:8080 offline.
What was wrong?
anybody out there using Apache server, please help!
 
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Simple, you need to install Tomcat.
 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
At least in order to run Servlets or JSPs, but need Tomcat or some other Servlet engine. But after installing and starting Apache, you should be able to point to localhost (NOT port 8080, but simply port 80, the default HTTP port), and see Apache's default website.
-Mirko

Originally posted by Adrian Yan:
Simple, you need to install Tomcat.


 
Weigang Gu
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I did not install TomCat, but I did install ServletExec AS3.0 from AtlantaSoftware. Do you need to start ServletExec (an servlet engine) before you run the browser? How do you start it? Do you need to configure it ?
Thanks in advance
 
Mirko Froehlich
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, you need to start your servlet engine before hitting the URL, and you also need to configure it. The configuration details depend on your webserver and servlet engine, no idea how this works in ServletExec. There should be instructions, though.
-Mirko

Originally posted by Weigang Gu:
I did not install TomCat, but I did install ServletExec AS3.0 from AtlantaSoftware. Do you need to start ServletExec (an servlet engine) before you run the browser? How do you start it? Do you need to configure it ?
Thanks in advance


 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Following link will help u in installing apacher server

Refer to Roseanne's list on how to make your jsp/servlets work, which is available at http://www.webappcabaret.com/javachina/tomcathowto.htm

reply
    Bookmark Topic Watch Topic
  • New Topic