I have this code in my
java testclass.
Runtime rt = Runtime.getRuntime();
rt.exec("C:/winnt/system32/notepad.exe");
If I run this class file in Command prompt it is opening notepad.exe but the problem is if i copy same code into my
servlet it is not openning notepad.exe. Even if i take an instance of my class in the servlet still it is not calling notpad.exe and it is not giving any error.
Can anybody help me.
Thanks in advance.