Forums Register Login

can anyone help me in runing the servlet

+Pie Number of slices to send: Send
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.

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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).]
+Pie Number of slices to send: Send
Hi, Jyotsna
It doesn't work when I click on the link that you provided?
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
 

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
Looky! I'm being abducted by space aliens! Me and this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 725 times.
Similar Threads
Calling servlet from a Javascript
how to save a file of any type in servlet?
file uploading through servlet
Problem in deploying a war file in weblogic 7
PDF file generating from servlet
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 08:47:52.