This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I don't know if it is a right place to put my query still...
i have a java web application. i want to use log4j for error handling purpose.
but i don't know where to put the required file...can any one please help me with step by step process of how to use it?? i am using netbeans.
i tried creating a properties file and copied the contenet searched from net in log4j.properties file. as
i have put this file in the src folder of my project generated by netbeans. there is no build folder generated till now.
i have put the log4j.jar file in my application folder..Try1...where other folders like src,test,web,nbproject folder and build.xml file is there.
then i created a sample java file LogClass.java as
but here it gives an errror at importing package line.....that is at..
saying the org.apache.log4j doesnot exist.
can any one please help me where i am going wrong. I am using Tomcat as a web server