Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache/Jserv Urgent Please!

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