Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Displaying static HTML content
Displaying static HTML content [message #883590] Fri, 08 June 2012 17:51 Go to next message
Eclipse UserFriend
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 18:03 Go to previous message
Eclipse UserFriend
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 18:03] by Moderator

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


Current Time: Mon Jun 23 20:29:18 EDT 2025

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

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

Back to the top