[問題] javascript執行linux command
想請問各位大大
我在jsp下有找到可以執行linux command的功能
如下
<%@page contentType="text/html;charset=gb2312"%>
<%
String cmd = "pwd";
Process Proc = Runtime.getRuntime().exec(cmd);
java.io.BufferedReader reader = new java.io.BufferedReader(new
java.io.InputStreamReader(Proc.getInputStream()));
String line;
while ((line = reader.readLine()) != null) {
out.println(line);
}
%>
想請問一下javascript是否也有這樣的功能呢
我只是想做使用者可以修改遠端的可用的檔案
謝謝各位大大
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 123.204.241.102
推
05/06 10:16, , 1F
05/06 10:16, 1F
推
05/06 11:20, , 2F
05/06 11:20, 2F
→
05/06 15:15, , 3F
05/06 15:15, 3F
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):