This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
i am using servlets and jsp's for my web application... through servlet i am calling a java class and that class reads a property file.. when i am working on eclipse i gave the absolute path for the file.. but after deploying the class is unable to retrieve the exact path... someone please help me how to give a file location in web context (this file is read by a normal java class.. not a servlet or jsp)
In servlet you are calling a java class means at the top, you should have written import statement for that class. Then in that case there should not be any problem after deploying the class... Can you please share some line of code so that we can investigate it ?