How to create dynamic web project in Eclipse

java server pages
java server pages






Follow the below steps to create dynamic web project.

Step 1

Open Eclipse EE(Luna) version.

Step 2

Click File->New->Project->web->Dynamic web project

new dynamic project
new dynamic project
Web project
Web project

Click next.

Step 3

Provide name and location of the project.

Name and location of the project
Name and location of the project

Click next.

Step 4

add package name
add package name

Click next.

Step 5

create web.xml
create web.xml

Click Finish.

Step 6

Right click on webContent folder and create Jsp file.

create jsp file
create jsp file
Jsp file name
Jsp file name

Click next.

jsp template
jsp template

Click Finish.

How to run Dynamic web project

Step 1

Right click on the project.

Run project on eclipse
Run project on eclipse

Step 2

Select the server, if server is not there configure it.

Select server
Select server

Click next.

Select Project
Select Project

Click Finish.

download Code

Profile photo of Nirmal Dhara
About Nirmal Dhara 27 Articles
Java Developer

Be the first to comment

Leave a Reply

Your email address will not be published.


*


Skip to toolbar