File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Critical prob Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Critical prob" Watch "Critical prob" New topic

Critical prob

deshdeep divakar
Ranch Hand

Joined: Apr 19, 2004
Posts: 91
hi this is a problem related to compilation of the servlet program.
classpaths are set as: c:\jdk1.4\lib\dt.jar;
but on compiling the servlet in command prompt by javac compiler the error is the packages of servlet and servlet.http. do not exist.
there is no problem in running applet.

"Do not be afraid of going slow, be afraid of standing still"
Sarath Mohan
Ranch Hand

Joined: Mar 17, 2001
Posts: 213
I feel your classpath is correct. Still compiler could not catch the jar files. Please check the jar files exist in the directories and there is no spelling and syntax mistake in classpath varibles


Sarath Mohan
I agree. Here's the link:
subject: Critical prob
It's not a secret anymore!