Back

To anyone learning from this tutorial

Created 3 years ago
77 Views
0 Comments
JayantmqcDdH
@JayantmqcDdH
JayantmqcDdH
@JayantmqcDdHProfile is locked. Login

This tutorial is very much not uptodate. So, this will be helpful for someone interested or is looking for solutions on web.

Try and use the latest Java Jdk, Apache Tomcat server version 9/10 as you wish to run the web app.

Eclipse mars is outdated, download and install the latest version of Eclipse

(IDE For Enterprise Java and Web Developers)

Setting up Java EE (Dynamic Web Project with other options) perespective for Eclipse -

  1. Click on Help and then click on “Install New Software”.

  2. In Work with paste this link: 2022-03 - https://download.eclipse.org/releases/2022-03/ Change the link according to your Eclipse version (2022-03 is version)

  3. Scroll down to find “Web, XML, Java EE and OSGI Enterprise Development” option and expand it.

  4. Select the following three options under “Web, XML, Java EE and OSGI Enterprise Development”

    -Eclipse Java EE Developer Tools

    -Eclipse Java Web Developer Tools

    -Eclipse Web Developer Tools

    - JST Server Adapters & JST Server Adapters Extension (For Apache Tomcat)

  5. Click next,accept terms install, after everything is installed, restart Eclipse. Now you will see on top right "open perespective --> Java EE"

And then follow this -

  1. New-->Dynamic Web Project-->give name to your project--->click on next button

  2. Remove src\main\java folder

  3. And type only src-->click on next button

  4. Rename Content directory as WebContent-->select generate web.xml deployment descriptor

  5. Finish. This will give you the structure used in tutorial.

    For the rest you can use the video.

    Thanks. (Credit - Stackoverflow)

Comments
Please login to comment.