#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    India
    Posts
    1
    Rep Power
    0
    How do you make fortran aplications into Web using Java?

    Comments on this post

    • Gran Roguismo agrees
    • JimmyGosling agrees
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Posts
    35
    Rep Power
    15
    Assuming the app is command-line driven, you could set up your commandline as a String[], and execute it with
    Process p=Runtime.getRuntime().exec(stringArray);

    and retrieve the results with something like

    BufferedReader results=new BufferedReader(new InputStreamReader(p.getInputStream()));

    and use readln to read from that.

    Success, Ton

    Comments on this post

    • Gran Roguismo agrees

IMN logo majestic logo threadwatch logo seochat tools logo