• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running a servlet using Apache Web Server 2.0.47

 
Chet Arora
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have downloaded the Apache HTTP Server 2.0.47. Have installed it succesffuly. Iv compiled a java servlet and now i want to run it using the Web Server. How can i achieve this ?
Im not very clear on the JServ Module and whether the Apache server im using has it or not. Could somebody please help me out.
Thanks,
Chetan
 
Malhar Barai
Author
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Chetan
Your directory structure might be something like this..
"C:\Program Files\Apache Group\Apache JServ\servlets"
copy the compiled servlet file(.class) to this location & run it like this :
http://localhost/servlets/<servlet-name>
hth
MB
 
Ashik Uzzaman
Ranch Hand
Posts: 2373
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What you need is a connector. I have used only mod_jk2 that is from Apache Open Source to connect Apache with other web containers (Tomcat in my case). So why don't you have a look at Apache that has proper documentation on how to do that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic