简体   繁体   English

如何在远程计算机上运行JSP

[英]How to running JSP on remote computer

Assume there is a tomcat apache server on http://192.168.1.10:8443/sample.jsp which is print a result on the page. 假设在http://192.168.1.10:8443/sample.jsp上有一个tomcat apache服务器,该服务器将在页面上打印结果。

How can we get that result in a script from command line or command line browsers like elinks from another computer? 我们如何从命令行或命令行浏览器(如来自另一台计算机的elink)的脚本中获得结果? No matter is this a bash script, php script or a python one. 不管是bash脚本,php脚本还是python脚本。

I used python script with requests and re modules for fetching the page source, but there's no success! 我使用带有请求和re模块的python脚本来获取页面源,但是没有成功!

One option is 一种选择是

curl http://192.168.1.10:8443/sample.jsp > local_file_name.txt

Numerous others are available as well. 还有许多其他可用的。 Which one to choose it up to you, and the best option determines what you'd like to do with the result. 哪一个取决于您,最好的选择决定您要对结果做什么。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在另一台计算机上运行的python脚本的远程控制功能 - Remote control functions of a python script running on another computer Fabric - 如何在远程计算机上使用交互式外壳? - Fabric - how to use an interactive shell on remote computer? 如何监视在我的计算机中运行的 Maya 程序? - How to monitor a maya program running in my computer? Python - 检测远程计算机是否已打开 - Python - Detect if remote computer is on 如何从远程计算机获取控制台输出(ssh + python) - how to get console output from a remote computer (ssh + python) 如何使用python socket模块向远程计算机发送消息? - How to send messages to a remote computer using python socket module? 如何解决远程计算机上的 Errno 13 Permission Denied? - How to troubleshoot Errno 13 Permission Denied on a remote computer? 我们可以在我们的计算机中使用 Pycharm 界面进行开发,同时在另一台远程 PC 上使用计算资源和环境运行它吗? - Can we develop in a Pycharm interface in our computer while running it with the computational resources and environment in another remote PC 如何获取仅在Windows计算机上运行的进程位置列表 - How to get the list of process location only running on my windows computer 如何检查在小型网络中的另一台计算机上是否正在运行相同的python脚本? - How to check if a the same python script is running in another computer in a small network?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM