This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one for details.
Originally posted by achaturvedi: I have a Linux shell which take two parameters how do i call this shell from JSP. Please help :roll:
You can use Runtime.getRuntime().exec() to call an outside program. Just build up a command-line containing the two arguments and pass it to exec(). (There's an overloaded exec() function that also takes an explicit argument list. See the Javadoc for java.lang.Runtime.)
Shawn Bayern<br />"JSTL in Action" <a href="http://www.jstlbook.com" target="_blank" rel="nofollow">http://www.jstlbook.com</a>
"achaturvedi", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp. We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please edit your profile and select a new name which meets the requirements. Thanks. Dave