File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes How do I run an unix script? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "How do I run an unix script?" Watch "How do I run an unix script?" New topic

How do I run an unix script?

Matt Peterson

Joined: Jul 17, 2002
Posts: 3
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.
Jessica Sant

Joined: Oct 17, 2001
Posts: 4313

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
hope that helps

- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
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.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: How do I run an unix script?
It's not a secret anymore!