Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

can anyone help me in runing the servlet

 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).]
 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, Jyotsna
It doesn't work when I click on the link that you provided?
 
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 158
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
What is that? Is that a mongol hoarde? Can we fend them off with this tiny ad?
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic