Convert Java Project to Web Project in Eclipse

This tutorial is for adding a simple tips to the Eclipse developers. When you have a Java project already created in your eclipse, now you want to convert that same project to a Web project instead of creating a new project. We can do that easily using the property window for that specific project.

1. Open the property window

eclipse-java-to-web-project-1

2. Click convert to facet Form

eclipse-java-to-web-project-2

3. Select Dynamic Web Module from the list

eclipse-java-to-web-project-3

4. Click on the OK Button

Once you click the OK button, it will generate the required files for the web project and create the project structure.

eclipse-java-to-web-project-4

Comments

comments

About Krishna Srinivasan

He is Founder and Chief Editor of JavaBeat. He has more than 8+ years of experience on developing Web applications. He writes about Spring, DOJO, JSF, Hibernate and many other emerging technologies in this blog.

Speak Your Mind

*