Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache/Jserv Urgent Please!

 
Pradeep Baisani
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic