
We click the button Browse and we select the directory where our Tomcat installation is and we click in Finish. Now we can see the Tomcat server in the server view and also a new project called Servers where we can also see our Tomcat server. In the Project Explorer view, right button on the mouse- new- project. In the new project window, inside the Web folder, we select Dynamic Web Project.Īs you can see in the window New Dynamic Web Project apache tommcat 6, has already been selected as our target runtime. If we had another server installed as JBoss and we were going to work with JBoss we would change the target to JBoss. Eclipse IDE is a leading open platform for professional developers. To keep this tutorial simple we will ignore the rest of the configurations, we fill Project name with first-jee as the name of our project and we click on finish. #Eclipse ide for enterprise java developers professional# Overview Certified Similar to 10 Create the next generation of developer tooling with our extensible platforms. There are two folders which are interesting for us: In the projects view we can see the structure of the project we have just created.

Inside this folder we can see the J2EE standard structure for a project the folder WEB-INF, the web.xml file, etc. We are going to repeat the last tutorial using this eclipse.

For this we are going to copy the web.xml, login.html and LoginServlet.java files from the last tutorial Parameters, GET and POST methods in Servlets to our project. In the graphic below we can see how the project will look like. What happened here? magic ) after clicking on finish, eclipse did the following: Lastly we click on the right button of the mouse over login.html - Run as - Run on Server and the Run On Server window will appear.

