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

Apache/Jserv Urgent Please!

Pradeep Baisani

Joined: May 23, 2001
Posts: 2
I am using Apache/Jserv, I have a .jsp file, which instantiates a class called Test.
Test t = new Test();
//no imports used... except java packages...

When I am trying to run this jsp on the browser it says, class Test not found...
I have made all the classes(including class Test) in to a .jar file and mentioned the path in the classpath.
I don't know whether I have to use it as a .jar file or I have to make a package of all my classes and mention it in the classpath.. I thought .jar file even works the same way..
It is working alright with out using package on jDeveloper on NT but, it causes problems on the Apache/Jserv..
Would someone please tell me how to access the class Test in my .jsp.
I agree. Here's the link:
subject: Apache/Jserv Urgent Please!
It's not a secret anymore!