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 have a web application of which the servet has to invoke the independent java class which is not residing in the web application.
Please suggest me if there is any solution to iplement the above requirement.
Classes used in the web app have to be in a place where one of the involved classloaders can get at them. Usually that's WEB-INF/lib or WEB-INF/classes in the wbe app itself, or maybe in a shared directory of the servlet container, or -as a last resort- via the extension mechanism of the JVM. If none of these work, then it's either really tricky (think custom classloaders) or impossible.