Hi all, In one program i am importing javaservlets.jdbc.ConnectionPool package. While compiling the program is giving error stating the package not available. I am using J2sdk 1.4 and oracle 8 personal edition in windows 98. Can anybody tell me what i have to do to solve this problem. Thanks in advance.
Hi, You need to have javaservlets.jdbc.ConnectionPool class in your classpath. If the jar file contains that class, place the jar file in your classpath -Amol
Originally posted by satya sahu: How do i set that classpath??
You can put the compiled class (with the package structure) in your webapplication's WEB-INF\classes folder. i.e put your ConnectionPool class in, %YOURAPPHOME%\WEB-INF\classes\servlets\jdbc\ where YOURAPPHOME is the your web application directory
Originally posted by satya sahu: How do i set that classpath??
You can put the compiled class (with the package structure) in your webapplication's WEB-INF\classes folder. i.e put your ConnectionPool class in, %YOURAPPHOME%\WEB-INF\classes\servlets\jdbc\ where YOURAPPHOME is the your web application directory
If you were a tree, what sort of tree would you be? This tiny ad is a poop beast.
a bit of art, as a gift, the permaculture playing cards