It's not a secret anymore!
The moose likes Servlets and the fly likes running servlets on jserv Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "running servlets on jserv" Watch "running servlets on jserv" New topic

running servlets on jserv

ray bond
Ranch Hand

Joined: Oct 11, 2000
Posts: 111

hello there,
I installed apache jserv and has apache webserver running,
I read in the documentation that " http://localhost:80/jserv/ "
is default document in jserv but when I start apache webserver and try above url nothing comes , so how to use apache jserv with apache web server and how to run servlets with apache jserv,I mean what classpaths to set and which directories contain servlets .inshort after installing both apache web server and jserv how to start using them for running servlets and jsp?
martin samm
Ranch Hand

Joined: Nov 09, 2000
Posts: 31
have you had a look at the TOMCAT documentation - it explicitly details what steps top undertake to integrate JServ into APACHE.

martin samm<BR>
Sandeep Jain
Ranch Hand

Joined: Oct 25, 2000
Posts: 124
After installing the Apache webserver , when u are installing the Apache jserv it will ask u 3 questions that is
1)where ur jdk is installed - c:\jdk1.3\bin(change accordingly)
2)where is the the jsdk.jar file -c:\jsdk2.0\jsdk.jar(change accordingly)
3)where is the apache webserver installed c:\apache\ (change accordingly)
4)after this open the httpd.conf file and change the serverName to localhost or ur computername
5)Now copy the servlet class file servlet folder of apache.
6)Start the Apache WebServer
7)type in the browser http://localhost:80/servlet/filename

Sandeep Jain

Try and Try Till u succeed<br /> <br />Sandeep Jain
I agree. Here's the link:
subject: running servlets on jserv
jQuery in Action, 3rd edition