Re: how to load a class by package ?

2000-08-24 Thread Kanojia Jogesh
Hi you have to add new web application in tomcat ,you have to cong the server.xml file stored in jakarta-tomcat\conf\ suppose i want to add new project named as "kanojia" then following is the setting in server.xml file Context path="/kanojia" docBase="webapps/kanojia" debug=0

how to load a class by package ?

2000-08-22 Thread Dion Dion
hi all.. i'm having difficulties with loading class.. please help :) in myclasspath i have c:\;c:\jdk1.2.2\lib;c:\myjava; I have directory c:\myjava\hardware and inside the hardware directory i have Harddisk.java and i already stated inside it: package hardware; compile it, and to test it, i

Re: how to load a class by package ?

2000-08-22 Thread Kanojia Jogesh
Hi Put your hardware in classes dir of the webserver ie \jakarta-tomcat\webapps\ROOT\WEB-INF\classes Hope this Help You At 05:00 PM 22/08/2000 +0700, you wrote: hi all.. i'm having difficulties with loading class.. please help :) in myclasspath i have c:\;c:\jdk1.2.2\lib;c:\myjava; I have

Re: how to load a class by package ?

2000-08-22 Thread Dion Dion
Hello Kanojia, thx for your answer, i noticed that the way you suggest has been working well, but i tought it's possible to put my classes in directory different than webserver's classes directory? if yes, how? btw, in classpath (i'm using win nt), is this the same between c:\; and .; thx