English 中文(简体)
如何在网络应用程序中获得unix 命令行?
原标题:How to get unix command line in a web application?

在这里我正在寻找要做什么。 我在一个 unix 框上保存了某些日志文件。 这些文件在 10- 100 MB 的范围。 我正在查看的建筑有一个网络应用程序, 我可以在其中输入 unix 命令行, 在那里我可以输入命令, 如 grep, ls 等, 然后命令提供的输出可以在 Web 应用程序中的表格/ grigview 中显示。 这样做可以吗? 我正在查看 Java 中可能存在的解决方案 。 我唯一不能使用的就是 Microsoft 堆叠 。

最佳回答

您是否尝试过网站网站SSH客户 : http://en.wikipedia.org/wiki/Web-based_SSH

问题回答

http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Runtime.html" rel=“nofollow”>Runtime 可以帮助您。 它允许您创建程序,在程序内执行命令,并收回结果。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签