Posts

Creating Running Static Web Project in Eclipse

Today I will assist you in creating a static web project in Eclipse, Before starting creating project, install HTML Editor plugin in eclipse from the following link: HTML Editor Plugin . When plugin installation is completed, then Go to File->New->Static Web Project (if Static Web Project is not visible, then go to Other and search). Folder with the name 'WebContent' will be created under Project name. Right Click on WebContent and create HTML File (New->HTML File), same as creating HTML file, you can create Javascript files and CSS resources. Now to run this project, go to Preferences->Server->Runtime Environments, click on Add and go to Basic and select HTTP Preview and click Next/Finish. Server is ready now, so right click on project and follow Run As->Run on Server and select above created server, if WebContent has index.html then it will pick this automatically otherwise give the name of the main html page after context like Link to Test Project . ...
Recent posts