Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes pass servlet value into java program it is in different application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "pass servlet value into java program it is in different application" Watch "pass servlet value into java program it is in different application" New topic
Author

pass servlet value into java program it is in different application

saravanan rajendran
Ranch Hand

Joined: Jun 13, 2008
Posts: 75
hi, i had a problem integrating java and servlet program guide me

problem:

My asterisk java program compile in separate application my all asterisk-java program kept in var/lib/asterisk/agi-bin/

my servlet program execute in different application all servlet program kept in usr/local/apache-tomcat/webapps/Asianet/WEB-INF/classes/com/example/servlet

my requirement:

I have jsp page it display in GUI when i select some value in GUI that value will get in servlet program using get parameter method that value i have to pass asterisk-java program that is different application how to do this guide me
Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 685
You'll have to put the program on the classpath so the server can find it.
Depending on the server, that could involve putting the class file in another directory.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: pass servlet value into java program it is in different application
 
Similar Threads
Asterisk as a command-line argument
Inter war communication
Error message executing shell script
how to pass value one program to another program
how to set and get a value