• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
Bartenders:
  • Himai Minh
  • Carey Brown
  • Frits Walraven

How do I run an unix script?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have no jsp experience thus the dilema. What I am trying to do is to generate a drop down menu dynamically using jsp. I have a unix script that returns to me a list of variables that I would like to use to populate a drop down menu.
How do I call the script and how do I then get the data into the menu?
I am using the unix sript to access another application that returns a set of directories that I then parse for particular values.
Thanks,
-Matt.
 
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check out native methods
I did a quick search in the archives and found a few maybe helpful threads:
confused with native reserve word
native methods
JNI(urgent)
hope that helps
 
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can't help thinking that this is more of a Unix problem than a specifically JSP one, so I've moved it to Linux/Unix for you.
 
reply
    Bookmark Topic Watch Topic
  • New Topic