Reputation: 3851
How can I import a java web project into Eclipse IDE. in the import dialog there is only a war file upload can be selected. But I couldn't find something like import a project.
So how can I import an existing java web project. Thank You!
Upvotes: 13
Views: 54036
Reputation: 448
You can always import your project that you have made it, previously with Eclipse using the "Existing Project into Workspace" option.
It will directly load all the packages of your Dynamic web Project, related to Eclipse Folder Structure.
And if you want to import a Web Project which is may be made with using other IDE than Eclipse and if it is pure web project than use WAR import, because it is a complete way to import any web project. For this prerequisite is that when Exporting the project you have it in WAR file.
Note:- I have not worked with other IDE than Eclipse that much. So I can say that there may be others who knows how to import project created from other IDE than Eclipse.
Upvotes: 10
Reputation: 1014
Use New -> Java Project -> A window will open -> Uncheck Use Default Location -> Browse to the root of the project -> Finish
Upvotes: 6
Reputation: 8261
You can import existing projects(any type) from below location in Eclipse
File > Import > Existing Project into Workspace
Upvotes: 3
Reputation: 5282
Using that 'existing projects into workspace' you have already highlighted? Assuming you're talking about an existing Eclipse project, and not about a project which has only code. Otherwise you just create a new web project and you copy the source to it.
Upvotes: 2