如何使用Eclipse版本:Mars.1 Release(4.5.1)创建一个servlet? [英] How to create a servlet using Eclipse Version: Mars.1 Release (4.5.1)?
问题描述
我只是想构建一个servlet。我在文件夹%Program Files%\jdk1.8.0_65 中有Java SE 8。在程序文件文件夹中,我还有 jre1.8.0_65 , jre6 和 java_ee_sdk-7u1 (Java Platform,Enterprise Edition 7 SDK Update 1 )
我还安装了Eclipse版本:Mars.1 Release(4.5.1)。
所有这是安装在我的64位Windows 7家庭高级笔记本电脑上。
我正在追踪
但是,我做的这个对话框没有 Web <强>为depi
我的对话框如下所示:
我做错了什么?
您可能正在使用 Eclipse for Java 。
下载 JEE的Eclipse 以获取Web开发功能。
http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/neonr 或 http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/mars2
Please be gentle with me. I just know a tiny bit of the Java language, which I don't find challenging at all. But I know nothing about the daunting ecosystem of IDE's and tools and packages just to get started building something useful.
I just want to build a servlet. I have Java SE 8 in the folder %Program Files%\jdk1.8.0_65. In the program files folder, I also have jre1.8.0_65, jre6 and java_ee_sdk-7u1 (Java Platform, Enterprise Edition 7 SDK Update 1).
I also have Eclipse Version: Mars.1 Release (4.5.1) installed.
All of this is installed on my 64-bit Windows 7 Home Premium laptop.
I am following this tutorial to create a servlet using Java with the Eclipse Java Mars IDE.
Following the instructions laid out in that article, I clicked File -> New -> Other.
However, the dialog box I get after doing that does not have the item Web as depicted in the picture in that article.
My dialog box looks like this:
What am I doing wrong?
You may be working in Eclipse for Java.,
Download Eclipse for JEE to get Web Development features.
http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/neonr or http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/mars2
这篇关于如何使用Eclipse版本:Mars.1 Release(4.5.1)创建一个servlet?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!