Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

launching HTML page in eclipse

 
nirjari patel
Ranch Hand
Posts: 386
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created an HTMl page using eclipse editor.

I want to launch this webpage. I clicked on browser, but it opened a different window. How can I launch this HTML page in eclipse ? I tried providing path also, but it also did not work. When I am trying to launch this HTML page, as "http://localhost/firstHTML.html" I am getting following error.
Error Summary
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. Detailed Error InformationModule IIS Web Core

Requested URL http://localhost:80/firstHTML.html
Physical Path C:\inetpub\wwwroot\firstHTML.html

Then I tried to launch this HYML page as "http://localhost/inetpub\wwwroot\firstHTML.html"

I got the same result again. So how can I launch this HTML page from the eclipse on my computer ?

thanks
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What type of project did you create? Dynamic web project? Static web project?

When you created the project, what "Target Runtime" did you identify?

If you create, for example, a static web project and identify a server then you should be able to select "Run As" and indicate the server. The page should then display within a browser window within Eclipse.

Have you looked at the help text for Eclipse? The Web Tools Platform User's Guide (under Help | Help Contents) contains much of this information.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic