Eclipse 如何在Github上运行Servlet?

Eclipse 如何在Github上运行Servlet?,eclipse,servlets,github,Eclipse,Servlets,Github,我有一个动态web项目,它是我使用EclipseIDE制作的,并且在tomcat上正常工作。但是当我在Github上上传项目时,它的servlet没有加载,但是HTML文件工作正常。 所以我的问题是如何在Github上运行这些servlet <a target="_top" href="showDriveClass"><input type="button" value="Show Drives" id="bt1" title="This will show current d

我有一个动态web项目,它是我使用EclipseIDE制作的,并且在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没有加载。

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

Thnks..我刚刚了解到github只承载静态项目,不像jsp或servlet那样是动态的