【问题标题】:How to run Servlet on Github?如何在 Github 上运行 Servlet?
【发布时间】:2015-07-16 18:49:36
【问题描述】:

我有使用 Eclipse IDE 制作的动态 Web 项目,并且在 tomcat 上正常工作。但是当我在 Github 上上传项目时,它的 servlet 没有加载,但是 HTML 文件工作正常。 所以我的问题是如何在 Github 上运行这些 servlet?

<a target="_top" href="showDriveClass"><input type="button" value="Show Drives" id="bt1" title="This will show current drives in your Sytem"/></a>
<a target="_top" href="DetailPdClass"><input type="button" value="Details" id="bt3" title="Details of Your Drives"/></a>
<a target="_top" href="CompareDriveClass"><input type="button" value="Compare" id="bt2" title="Compare all drives of your system"/></a>
<a href="about.html"><input type="button" value="About" id="bt4" title="About Web Drive Detector"/></a>
<a href="help.html"><input type="button" value="help" id="bt5" title="Help Contents"/></a>

在这个 html 页面正在加载,但前 3 个 servlet 没有。

【问题讨论】:

    标签: eclipse servlets github


    【解决方案1】:

    这不是 Github 做的事情。它会在您的存储库中呈现某些类型的文件以便于查看,但它不是应用程序容器。

    【讨论】:

    • Thnks..我刚刚了解到 github 只托管静态项目,而不是像 jsp 或 servlet 这样的动态项目
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-10-03
    • 1970-01-01
    • 1970-01-01
    • 2017-12-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多