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

Apache problems

Rupali Desai
Ranch Hand

Joined: May 29, 2001
Posts: 42
I am getting the following problem with apache

[Wed Jul 24 11:00:22 2002] [error] [client] Exception in thread "main"
[Wed Jul 24 11:10:19 2002] [error] [client] java.lang.NoClassDefFoundError: javax/servlet/http/HttpUtils
I have a small html form which calls a perl script which in turn call a java program.
I am able to execute it on command line
c:\ perl
but when I do it through the browser I see the above mentioned error inthe error log of apache.
I have set the clas path environment.
my perl scrip looks like this.
print "Content-type: text/html\r\n\r\n";

Thanks in advance.
Rupali Desai
Juanjo Bazan
Ranch Hand

Joined: Feb 04, 2002
Posts: 231
Make sure you have servlet.jar in you classpath.
I agree. Here's the link:
subject: Apache problems
It's not a secret anymore!