Skip to main content

Apache tomcat Configuration in eclipse

Apache Tomcat Configuration in eclipse

Step 1: Go to J2EE perspective

c1

Step 2: Go to Window and select Show view and click on Server

c1

Step 3: Click link to add Server

c1

Step 4: Select Server

c1

Step 5: Select path where Extract your tomcat

c1

step 6: Now you can See server

server

Step to run Simple Static page into web server
Step 1: Create dynamic web project

c1

Step 2: Give proper name

c1

Step 3: Create html file

c1

Step 4: Give file name

c1

Step 5: index.html

c1

Step 6: Right click and select run as and Click Run on server

c1

Step 7: Click on finish

c1

Step 8: Now You can see result

c1

Note: Here we created simple static html page and run web application on web server.
Just observe web url
http://localhost:8980/JavaforLearn.com/index.html
–> We can access static web application through file name.

–> In case of dynamic web application we access it through configure web URL.