This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I am having two programs in different path.One is servlet named "Freedialer.java" and is in path /usr/local/apache-tomcat/webapps/NewVoicebroadcast/WEB-INF/classes and another program "Sample.java" is in /var/lib/asterisk/agi-bin/.Is it possible to pass a variable from "Freedialer.java" to "Sample.java" which are in different paths?
Create an instance of "Sample" class in "Freedialer" class and pass variables, but trick is making "Sample" class visible to servlet "Freedialer " by putting that "Sample.java" in classpath, i.e in directory '/WEB-INF/lib'