fuadhamidov
Programmer
hi
i have problem while importing .class.
my case:
i use jakarta-tomcat ( 4.1.27 )as web server and Net-Beans.
until now i have only use (and create) jar. i put jar in web-inf/lib. and i could easily import packages.
problem:
i need to use a jar (say it is bbb.jar) that contains .class file not in folder. i have tried several cases to compile my jar (not bbb.jar) but i was unsuccessful.
my jar is in web-inf/lib.
i put the .class file in web-inf/classes and same folder wiht web-inf (and jsp's).
i try to add statement to import class
(1.import aaa; 2.import aaa.class
to java but it gives error.
what should i do?
i have problem while importing .class.
my case:
i use jakarta-tomcat ( 4.1.27 )as web server and Net-Beans.
until now i have only use (and create) jar. i put jar in web-inf/lib. and i could easily import packages.
problem:
i need to use a jar (say it is bbb.jar) that contains .class file not in folder. i have tried several cases to compile my jar (not bbb.jar) but i was unsuccessful.
my jar is in web-inf/lib.
i put the .class file in web-inf/classes and same folder wiht web-inf (and jsp's).
i try to add statement to import class
(1.import aaa; 2.import aaa.class
to java but it gives error.
what should i do?