Import an existing JSP project into Eclipse or Net Beans

I am trying to import a project from some server to my localhost.

I would prefer to import it into NetBeans, but Eclipse is great too. At the moment, I have installed the Tomcat server in NetBeans. Then I tried to create a new Java web project with the existing source code, and then go through the wizard, and when I have to select the web pages folder, the contents of Web-inf says: β€œThe Web pages folder overrides the Project folder.

But I'm not sure what setting I should have there. If you might have tips or video tutorials, that would be awesome.

Thanks!

+4
source share
2 answers

A common mistake that may arise at the final stage is to create a project -

"The webpage folder overlaps the project folder."

To resolve this issue, follow these simple steps.

  • In the project folder, create a folder called web.

  • Move the sources and the WEB-INF file to the web directory. You will go well! When you create a project now from existing sources, the process will be smooth!

+7
source

you can directly import it through eclipse, it is possible to import some project, not create a new project

0
source

All Articles