Results 1 to 2 of 2
Thread: Use Perl function with java
- 07-24-2007, 12:56 AM #1
Member
- Join Date
- Jul 2007
- Posts
- 40
- Rep Power
- 0
Use Perl function with java
I have a java program designed to search websites for links, the user interface is java but the search function is Perl. I can't find anyway to start the Perl script from the java code without using the Microsoft .NET framework.
I also need to pass the Perl script the name of the first file it's to search.
Thanks
- 08-07-2007, 06:25 AM #2
Member
- Join Date
- Jul 2007
- Posts
- 40
- Rep Power
- 0
You run other programs from within java using a newProcess command
the name of that method might be off, I'd check the System API firstJava Code:System.newProcess(<name of perl script>);
I do agree with the previous post though, you most likely are using javascript, rather than JSP
The above only works for java (in a web services case, JSP).
Greetings.
Similar Threads
-
calling a perl script in Java(using a OK Button)
By Yaya B in forum NetBeansReplies: 1Last Post: 01-07-2011, 07:20 AM -
How to use a function in java
By olikhvar in forum New To JavaReplies: 2Last Post: 02-16-2008, 02:57 AM -
function name
By osval in forum Advanced JavaReplies: 1Last Post: 08-06-2007, 08:56 PM -
Help with recursive function in java
By cachi in forum Advanced JavaReplies: 2Last Post: 07-31-2007, 06:51 PM -
Php explode function, equivalent java
By fernando in forum Advanced JavaReplies: 1Last Post: 07-31-2007, 05:44 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks