Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

(elbie): how can you pass values from the objects in java to the perl program?

by elbie (Curate)
on Aug 14, 2001 at 22:20 UTC ( [id://104850]=note: print w/replies, xml ) Need Help??


in reply to how can you pass values from the objects in java to the perl program?

Depending on how you give those inputs to your java app, there might be another way. I realize that you said your app was standalone, but in the spirit of TMTOWTDI...

If you're calling an applet, and passing the parameters via the param tag, you could just pass the parameters to perl first and have perl spit out the html tags for you java applet afterwards.

elbieelbieelbie

  • Comment on (elbie): how can you pass values from the objects in java to the perl program?

Replies are listed 'Best First'.
Re: (elbie): how can you pass values from the objects in java to the perl program?
by Anonymous Monk on Aug 15, 2001 at 02:06 UTC
    I have a standalone java application which takes the user inputs. I am passing those values to a string Object like this-- contract_number = ivjTextField2 .getText(); member_id = ivjTextField3.getText(); start_date = ivjTextField4.getText(); end_date = ivjTextField5.getText(); and then, Runtime R = Runtime.getRuntime(); R.exec("d:\\ActivePerl\\bin\\perl rscdetail2.pl " + contract_number+" "+member_id+" "+start_date+" "+end_date); but it's not doing any thing. Thanx in advance!! PS: i am using Active Perl for Windows Platform and visual Age for Java.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://104850]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (8)
As of 2024-04-24 10:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found