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 can anyone help me in runing the servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "can anyone help me in runing the servlet" Watch "can anyone help me in runing the servlet" New topic
Author

can anyone help me in runing the servlet

felix thomas
Ranch Hand

Joined: Jun 10, 2001
Posts: 89
hi,
i had install and configured apache web server on my windows 98. It runs fine. but i try to run a servlet it shows

downloading from site or sometimes file not found.
i have placed the class file in the htdocs directory.
can anyone help me please.

Beksy Kurian
Ranch Hand

Joined: Jul 11, 2001
Posts: 254
Servlets shouldn't be in htdocs directory. Aren't you using a servlet engine? All the classes should go to the servlets directory of the servlet engine (jrun, tomcat etc... ). The configuration might be a little different depending upon the servlet container.
Beksy
Rehan Malik
Ranch Hand

Joined: Jul 09, 2001
Posts: 76
Simply installing apache probably won't let you run JSP/Servlets.
You have to install the extra modules as well. Here are your options:
A. Download JServ from apache's website and use this as your link for your JSP/Sevlets
B. Download Jacarta-Tomcat and link it up with Apache
C. Install JRun and let it interact with your web server while running also your JSP/Servlets.


Rehan Malik
Jyotsna Clarkin
Ranch Hand

Joined: Jan 26, 2001
Posts: 158
You will need a servlet container to run servlets/jsp.
Here's a guide to help you setup Apache and Tomcat
How to make your first JSP page work on Tomcat?

[This message has been edited by Jyotsna Clarkin (edited July 19, 2001).]
ken chou
Ranch Hand

Joined: Feb 08, 2001
Posts: 68
Hi, Jyotsna
It doesn't work when I click on the link that you provided?
karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388
hi,
you can get tomcat on the apache homepage. it is part of the jakarta project.
if it is just for testing purpose, then you can use tomcat standalone (no other server for static html files) if it goes live with tons of hits, then you should consider running apache with tomcat for jsp/servlets.
there are also other jsp/servlet engines (not all of them are free like tomcat)
karl
Jyotsna Clarkin
Ranch Hand

Joined: Jan 26, 2001
Posts: 158
Originally posted by ken chou:
Hi, Jyotsna
It doesn't work when I click on the link that you provided?

Sorry
here it is again http://www.webappcabaret.com/javachina/tomcathowto.htm
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can anyone help me in runing the servlet