I'd like to learn struts2 with eclipse. Which version of eclipse should i download?
我想用eclipse学习struts2。我应该下载哪个版本的eclipse?
My background is as a c# developer, so i don't really know much at all about java but i'm keen to learn.
我的背景是作为一名c#开发人员,所以我对Java并不是很了解,但我很想学习。
I'm looking on the eclipse site http://eclipse.org/downloads/ and i think what i want is one of these, but i'm not sure:
我正在寻找eclipse网站http://eclipse.org/downloads/,我认为我想要的是其中之一,但我不确定:
- Eclipse for Java EE developers
- Eclipse for Java developers
- Classic Eclipse
Eclipse for Java EE开发人员
Eclipse for Java开发人员
I've done a bit of searching around, and most tutorials seem to assume you've already got everything installed. I'm starting with nothing here.
我已经做了一些搜索,大多数教程似乎都认为你已经安装了所有东西。我在这里什么也没做。
3 个解决方案
#1
1
Struts is a web framework built on top of JSP/Servlet API. Get Eclipse for Java EE. It ships with all plugins needed for web development, under each the great WTP and several default appserver plugins. The normal Eclipse version lacks this.
Struts是一个构建于JSP / Servlet API之上的Web框架。获取Eclipse for Java EE。它附带了Web开发所需的所有插件,在每个伟大的WTP和几个默认的appserver插件下。普通的Eclipse版本缺少这个。
When starting a project, first integrate the appserver in your Eclipse environment through the Servers
view (obviously you need to download and install the appserver in question in your platform first, then it's just a matter of pointing its installation path, I can recommend using Apache Tomcat). Then create a Dynamic Web Project
, pick the integrated appserver from the list and go ahead! :)
在启动项目时,首先通过Servers视图将appserver集成到Eclipse环境中(显然你需要首先在你的平台上下载并安装有问题的appserver,然后只需要指出它的安装路径,我可以推荐使用Apache Tomcat的)。然后创建一个Dynamic Web Project,从列表中选择集成的appserver并继续! :)
#2
1
Eclipse for Java Developers is sufficient for your needs. The EE functionality isn't required to use Struts. I also recommend using Jetty for a web container and Maven for dependency management.
Eclipse for Java Developers足以满足您的需求。使用Struts不需要EE功能。我还建议将Jetty用于Web容器,使用Maven进行依赖关系管理。
Oh, and you should install the JDK first of course. Get the latest JDK 6 build. Not one of the bundles, just the JDK, which is listed below the bundles on this page
哦,你应该首先安装JDK。获取最新的JDK 6版本。不是其中一个捆绑包,只是JDK,它列在本页面的捆绑包下面
#3
1
I have found that the Eclipse Java EE version is good for Web stuff. It knows about WAR files which you will need to actually run your struts code. The major hurdle is getting all the used libraries placed so they end up in WEB-INF/lib.
我发现Eclipse Java EE版本适用于Web内容。它知道实际运行struts代码所需的WAR文件。主要障碍是放置所有使用过的库,使它们最终进入WEB-INF / lib。
#1
1
Struts is a web framework built on top of JSP/Servlet API. Get Eclipse for Java EE. It ships with all plugins needed for web development, under each the great WTP and several default appserver plugins. The normal Eclipse version lacks this.
Struts是一个构建于JSP / Servlet API之上的Web框架。获取Eclipse for Java EE。它附带了Web开发所需的所有插件,在每个伟大的WTP和几个默认的appserver插件下。普通的Eclipse版本缺少这个。
When starting a project, first integrate the appserver in your Eclipse environment through the Servers
view (obviously you need to download and install the appserver in question in your platform first, then it's just a matter of pointing its installation path, I can recommend using Apache Tomcat). Then create a Dynamic Web Project
, pick the integrated appserver from the list and go ahead! :)
在启动项目时,首先通过Servers视图将appserver集成到Eclipse环境中(显然你需要首先在你的平台上下载并安装有问题的appserver,然后只需要指出它的安装路径,我可以推荐使用Apache Tomcat的)。然后创建一个Dynamic Web Project,从列表中选择集成的appserver并继续! :)
#2
1
Eclipse for Java Developers is sufficient for your needs. The EE functionality isn't required to use Struts. I also recommend using Jetty for a web container and Maven for dependency management.
Eclipse for Java Developers足以满足您的需求。使用Struts不需要EE功能。我还建议将Jetty用于Web容器,使用Maven进行依赖关系管理。
Oh, and you should install the JDK first of course. Get the latest JDK 6 build. Not one of the bundles, just the JDK, which is listed below the bundles on this page
哦,你应该首先安装JDK。获取最新的JDK 6版本。不是其中一个捆绑包,只是JDK,它列在本页面的捆绑包下面
#3
1
I have found that the Eclipse Java EE version is good for Web stuff. It knows about WAR files which you will need to actually run your struts code. The major hurdle is getting all the used libraries placed so they end up in WEB-INF/lib.
我发现Eclipse Java EE版本适用于Web内容。它知道实际运行struts代码所需的WAR文件。主要障碍是放置所有使用过的库,使它们最终进入WEB-INF / lib。