• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"Apache VS javawebserver" Starting Server

 
Rayudu addagarla
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Brett Knapik
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Brett Knapik
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic