hi theres somehting i just want to confirm when i write a class that uses teh import command at the top
where do i put any relevant import jar files ? is it always in the webapps/WEB-INF/lib directory of the application server ?
One day all greenhorns will run free ...
posted 12 years ago
you can put your jar files everywhere in the class path. If you are developing web apps there are two possibilities. WEB-INF/lib of your application or /lib of your server. Preferred way is to put it in the application lib dir, cause then if you redeploy on a different server you have everything you need. For normal java applications the jars can be everywhere but you have to include them in your startup file or your command java -classpath $PATH/your.jar Hope that helps