Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Web Tools Guide
Previous Page Home Next Page

Testing on an HTTP Preview server

Use the HTTP Preview server when you want to quickly test resources in a static Web project. The HTTP Preview server is a Hypertext Transfer Protocol (HTTP) embedded test server that is integrated with the workbench. It is intended for preliminary testing and saves you time to download, install, and set up an HTTP server. However, as your static Web project progresses through its development cycle you are encourage to test and run on an external HTTP server. You can use the HTTP Preview server as a convenient way to check for errors before you do a final test on an external HTTP server.

To create and test on an HTTP Preview server for previewing your resources in a static Web project, complete the following steps:
  1. In the Servers view, right-click and select New > Server. The Define a New Server wizard opens.
  2. Under the Select the server type list, expand the Basic folder and select HTTP Preview. Click Next.
  3. The Add and Remove page opens. Under the Available projects list, select the static Web project and click the Add button. Click Finish. The HTTP Preview server is created in the Servers view.
  4. In the Project Explorer view, navigate to your static Web project and right-click your resource you want to test.
  5. Select Run As > Run on Server . The Run on Server wizard opens.
  6. Verify the Choose an existing server radio button is enabled.
  7. Under the Select the server that you want to use list, select the recently created HTTP Preview server. Click Next.
  8. The Add and Remove page opens. Verify the static Web project you are testing is listed under the Configured projects. Click Finish.
The internal Web browser opens and displays the static Web content.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire