Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Displaying static HTML content
Displaying static HTML content [message #883590] Fri, 08 June 2012 21:51 Go to next message
Ronald So is currently offline Ronald SoFriend
Messages: 198
Registered: April 2011
Senior Member
Hello,

I have a bunch of static HTML files that lives inside a folder in a bundle. How do I register these HTML files so that I can launch an external browser and point to one of these HTML file?

Sorry if this is a question that was asked before. I could not find it but I thought I saw this question being answered before.

Thanks,
Ronald

Re: Displaying static HTML content [message #883596 is a reply to message #883590] Fri, 08 June 2012 22:03 Go to previous message
Ronald So is currently offline Ronald SoFriend
Messages: 198
Registered: April 2011
Senior Member
Yup, it is like usual that I found the answer minutes after my post.
<extension
      point="org.eclipse.equinox.http.registry.resources">
   <resource
         alias="/html"
         base-name="html">
   </resource>
</extension>


Works like a charm. Very Happy

[Updated on: Fri, 08 June 2012 22:03]

Report message to a moderator

Previous Topic:Problem with popup menu
Next Topic:RWT FileDialog (without RAP)
Goto Forum:
  


Current Time: Wed Apr 24 18:30:56 GMT 2024

Powered by FUDForum. Page generated in 0.03244 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top