Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes Apache web server 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 » Java » Servlets
Bookmark "Apache web server" Watch "Apache web server" New topic
Author

Apache web server

Weigang Gu
Ranch Hand

Joined: Jan 16, 2001
Posts: 44
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!
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
Simple, you need to install Tomcat.
Mirko Froehlich
Ranch Hand

Joined: Aug 21, 2000
Posts: 114
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

Joined: Jan 16, 2001
Posts: 44
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

Joined: Aug 21, 2000
Posts: 114
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

padmshree Patil
Ranch Hand

Joined: Dec 18, 2000
Posts: 54
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

 
Don't get me started about those stupid light bulbs.
 
subject: Apache web server
 
Similar Threads
Problem accessing servlet through Tomcat 5.0.28
Unsupported response content type "text/html", must be: "text/xml".
Struts
Url of web aplpication
Apache web server