Meaningless Drivel is fun!*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Apache/Jserv Urgent Please!" Watch "Apache/Jserv Urgent Please!" New topic
Author

Apache/Jserv Urgent Please!

Pradeep Baisani
Greenhorn

Joined: May 23, 2001
Posts: 2
Hi,
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.
Regards,
Deep.
 
Consider Paul's rocket mass heater.
 
subject: Apache/Jserv Urgent Please!
 
Similar Threads
Problem with jar
How to access non class files in a JAR
Error : Package does not exist
placing .class files in Tomcat4.0
Problems in JAXRPC Web Service clients on Apache JServ