Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do I run an unix script?

 
Matt Peterson
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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.
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • 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
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic