I have a bash script inside my .war file & i want to call it to run from my web page(probably jsp).How can i do that?
The bash script uses root privilages.I will call it with gksudo.Can that be done?Is .war file writable?I use Tomcat.
I have a bash script inside my .war file & i want to call
Share
I think there is a .war file that is part of the Beanshell project and that .war is capable of running Beanshell scripts in Java code, which means you could do pretty much anything.
There might be better ways of doing this but this is all I know right now.