简体   繁体   English

如何在Eclipse中将动态Web项目转换为从桌面上的图标运行?

[英]How do i convert a dynamic web project in eclipse to run from an icon on desktop?

I have a dynamic web project in eclipse. 我在Eclipse中有一个动态的Web项目。 It has html files, Css file, js files, java files, jsp files, and etc. It also is connected to an oracle database, which the dynamic web project inserts, updates, deletes and shows data into webpage. 它具有html文件,css文件,js文件,java文件,jsp文件等。它还连接到oracle数据库,动态Web项目可在其中插入,更新,删除数据并将其显示到网页中。 The web project works fine in eclipse IDE, and can run it on the external web browser. 该Web项目在Eclipse IDE中可以正常运行,并且可以在外部Web浏览器上运行它。

I need to take the dynamic web project and put it on the desktop, such as a shortcut icon. 我需要将动态Web项目放置在桌面上,例如快捷方式图标。 So, i want to be able to open the web project from the desktop and be able to run directly on the web browser, like chrome. 因此,我希望能够从桌面打开Web项目,并能够直接在Web浏览器(例如chrome)上运行。 The reason is I need to send that web project to other users to test, and see if what changes needs to be made. 原因是我需要将该Web项目发送给其他用户进行测试,并查看是否需要进行哪些更改。 The users do not have eclipse on their systems. 用户在他们的系统上没有日食。 Is there a way I can send them the app. 有没有一种方法可以向他们发送应用程序。 as a desktop application? 作为桌面应用程序?

If not, Can anybody help me on how I can do it on my local system? 如果没有,是否有人可以在本地系统上为我提供帮助?

For the run of web_application with some jsp-files you need to have one servlet container as Tomcat or Jboss, Wildfly etc This container must be for you available over the network ( mayby official IP-Address is necessary). 对于带有某些jsp文件的web_application运行,您需要具有一个servlet容器,例如Tomcat或Jboss,Wildfly等。该容器必须是您在网络上可用的(可能需要正式IP地址)。 Then you can access to URL of your web-application with your local browser and observe the work of your application. 然后,您可以使用本地浏览器访问Web应用程序的URL,并观察应用程序的工作。 With the icon and one link you can start the web browser with your required URL too. 使用图标和一个链接,您也可以使用所需的URL启动Web浏览器。

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

相关问题 在Eclipse中,在依赖于maven项目的动态Web项目中,如何从maven项目中拾取jar? - In Eclipse, in a dynamic web project that is dependent on a maven project, how do I pick up jars from the maven project? 如何将 EJB 功能添加到 Eclipse 动态 web 项目? - How do I add EJB capabilities to an Eclipse dynamic web project? 为什么我不能将现有的 Eclipse 项目转换为动态 web 项目? - why I cannot convert an existing Eclipse project to the dynamic web project? 如何在 Eclipse 中将 Spring Boot 应用程序转换为动态 Web 项目? - How to convert spring boot application to a Dynamic web project in Eclipse? 为什么在Eclipse的动态Web项目中出现此错误? - Why do I get this error in a Dynamic Web Project in Eclipse? 如何在 Eclipse 中运行项目? - How do I run a project in Eclipse? 如果它不是“动态Web应用程序”,如何在eclipse中的Tomcat上运行WAR? - How do I run a WAR on Tomcat within eclipse if it's not a 'dynamic web app'? 如何从Eclipse中的Dynamic Web Project构建EAR文件? - How can I build an EAR file from a Dynamic Web Project in Eclipse? 如何从Dynamic Web Project上的Eclipse路径读取文件? - How to read a file from Eclipse's path on a Dynamic Web Project? 为什么我无法在Eclipse中使用正确的项目构面在JBoss AS 5.1上运行动态Web项目 - Why I am not able to run a dynamic web project on JBoss AS 5.1 with correct project facet in eclipse
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM