aspose file tools*
The moose likes JSP and the fly likes Executing a shell script from a jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Executing a shell script from a jsp" Watch "Executing a shell script from a jsp" New topic
Author

Executing a shell script from a jsp

A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
Is it possible that we can execute a shell script from a jsp that resides on the same machine as the server where we have deployed the web application...the machine is a linux machine..
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61760
    
  67

Odd thing to do in a JSP.

But yes, you can do it just like within any other Java class.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
Hi Bear,

Can you post some links/info about that ..?

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61760
    
  67

Been discussed many times throughout the forums. A search should find many topics.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Executing a shell script from a jsp