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:How to design a "Tiles View" in RAP?
Next Topic:Is it possible to use slide effect in RAP?
Goto Forum:
  


Current Time: Mon Nov 24 20:20:05 GMT 2014

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

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