Open eclipse. Click on Help menu. Select Install New Software. This would take us to the following screen.
Click on add button. It would lead us to the screen placed below.
In the name field just give any repository name, for example – web development.
for location type the url to eclipse plugin site of appropriate version. Since I am working on eclipse juno, the location field contains the following url:
Then press OK button. This will take us to the previous screen.
Help ———> Install New Software
In the resulting window you can see Work With field. From its option list select the one we have just added, in the previous step. ( here web development – http://download.eclipse.org/releases/juno/ ). This will lead us to the following screen. Select the plugin for web development only.
Click Next button.
Now we will get following screen.
Now click the Next Button and you can see a screen like below.
Now accept the conditions.
Click on Finish button. and now you can see that the softwares are being installed.
just Restart the Eclipse
Creating first web project in Eclipse
1. just go to File menu. Click new.
2. Click on Static Web project. If you don’t have such options just click on Project and select Web and then click Static Web project.
3. By default the Eclipse IDE would be in java perspective. We need to switch it to Web perspective. On the top right corner of the IDE you will be able to see Java and Web perspective options. Just click on the Web perspective, in order to make it active.
Now proceed with project creation and development just like what you have been doing in Eclipse for android or java.