在tomcat网页上显示C ++输出 [英] Display C++ output on tomcat webpage

查看:126
本文介绍了在tomcat网页上显示C ++输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个wmi c ++程序

i希望使用tomcat在网页浏览器中显示程序的输出

任何人都可以帮我这个



我尝试了什么:



i不知道该怎么做。

i没有尝试任何东西

i have a wmi c++ program
i want to display the output of the program in the web browser using tomcat
can anyone help me with that

What I have tried:

i don't know what to do.
i did not tried any thing

推荐答案

让C ++应用程序创建存储在Web服务器文档路径中的HTML文件。如果只有一个文件,则可以使用起始页文件名(通常为 index.htm [l] )将其存储在服务器的根路径中。然后在导航到服务器URL时显示。否则,您必须提供一个包含应用程序生成的HTML文件链接的起始页面,或在浏览器中输入完整的URL。
Let the C++ application create HTML file(s) that are stored in the document path of the web server. If there is only one file, it can be stored in the root path of the server using the start page file name (usually index.htm[l]). Then it will be shown when navigating to the server URL. Otherwise you have to provide a start page with link(s) to the HTML file(s) generated by your application or enter the full URL in the browser.


这篇关于在tomcat网页上显示C ++输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆