Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-24-2007, 01:56 AM
Member
 
Join Date: Jul 2007
Posts: 40
lenny is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-07-2007, 07:25 AM
Member
 
Join Date: Jul 2007
Posts: 40
mathias is on a distinguished road
You run other programs from within java using a newProcess command

Code:
System.newProcess(<name of perl script>);
the name of that method might be off, I'd check the System API first

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.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use a function in java olikhvar New To Java 2 02-16-2008 03:57 AM
calling a perl script in Java(using a OK Button) Yaya B NetBeans 0 12-20-2007 10:50 PM
function name osval Advanced Java 1 08-06-2007 09:56 PM
Help with recursive function in java cachi Advanced Java 2 07-31-2007 07:51 PM
Php explode function, equivalent java fernando Advanced Java 1 07-31-2007 06:44 AM


All times are GMT +3. The time now is 08:22 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org