yu can to this by unix utilities which will run the unix command or shell sripts
for yu.
Yu can invoke the utility using exec(String cmd) of Process.
regards
suresh
Manish Shah wrote:
> Hi
>
> I have some questions which ought to be cleared
> before I start up my project.
>
> 1. I was trying to run unix commands from my
> servlet. I used the getRunTime() and exec commands
> appropriately. It ran perfectly when stand alone
> Java applications were run but when the same code is
> made to run through servlets, it gave me an
> IOException and most times my JSWDK startserver
> terminated. It would be great if u can provided with
> some sample code for this.
>
> I would really appreciate if you can advice me in
> the above said stuff.
>
> Thanks
> Manish
>
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail � Free email you can access from anywhere!
> http://mail.yahoo.com/
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets