File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark ""Apache VS javawebserver" Starting Server" Watch ""Apache VS javawebserver" Starting Server" New topic
Author

"Apache VS javawebserver" Starting Server

Rayudu addagarla
Ranch Hand

Joined: Aug 17, 2000
Posts: 39
hai
i am new to apachewebserver and i had never seen it before.
i know that to start the server in Javawebserver..
we have to run the httpd.exe file in bin directory of javawebserver2.0
but..i want to know In ApacheWebserver?
1. how to start server
2. where to place servlets (in javawebsever we keep in servlets directory)
3.where to keep .html and .jsp files (in javawebserver public_html directory)
thanks in advance..
Rayudu.


Good luck for Certfication.
Brett Knapik
Ranch Hand

Joined: Oct 15, 2000
Posts: 255
1.) run httpd in the pache directory
2.) this depends on your application server. you can usually create a folder in apache to hold jsp and servlets.
3.) this is in the apache conf file under etc. it can be any folder you want.
------------------
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work


"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
Originally posted by Rayudu addagarla:
hai
i am new to apachewebserver
but..i want to know In ApacheWebserver?
1. how to start server
2. where to place servlets (in javawebsever we keep in servlets directory)
3.where to keep .html and .jsp files (in javawebserver public_html directory)
thanks in advance..
Rayudu.

as you said, apache is a web server, not a servlet/jsp
container. well, this is my understanding anyways.
you will need something to serve your servlets and jsps.
i think this is what Brett is mentioning abv as an
application server.
regds.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Brett Knapik
Ranch Hand

Joined: Oct 15, 2000
Posts: 255
number 1 is how to start apache. on number 3 i don't think i made myself clear enough. in the conf file you define the base root of your files and you put all files accessable in that folder specified.
------------------
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "Apache VS javawebserver" Starting Server