Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pass servlet value into java program it is in different application

 
saravanan rajendran
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1032
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic