Where should i put my .jar file?
I want to use a kind of jdbc drivers, so i have to put two .jar files into a folder.
I put these into C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\MyPortalApp2\work\pagelet
But it seems wrong.
What folder should i put into?
Or how should i do to use the jdbc driver?
Harini Vijayakhanna replied
It is sufficient if u add the jars for the driver in project build path itself.
Right CLick Project -> Properties -> Java Build Path -> Libraries -> Add External Jar -> Browse and add the jars.
Deploy the project. If it doesn't work, put the jars inside lib folder instead of pagelet folder.
Note: Putting the jar inside the lib folder in the path I have mentioned is same as adding them in the project lib folder.
Message was edited by: Harini Subramanian