Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Apache/Jserv Urgent Please!  RSS feed

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.
Destroy anything that stands in your way. Except this tiny ad:
ScroogeXHTML 7.2 - RTF to HTML5 / XHTML converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!