Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java-PERL issue  RSS feed

 
Jay X Brown
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am assigned the task of figuring out how to call a PERL function that would 'hash' a password and return it into a Java servlet.
i am truly a greenhorn and any and all guidance will be profoundly appreciated.
jay
 
David Freels
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look under the java.lang.Runtime class. There is a method named exec that will execute an external process. A Process object will be returned and input and output streams can be obtained to recieve the password.
David
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!